{"id":20975434,"url":"https://github.com/iswenzz/gscunit","last_synced_at":"2026-02-26T09:39:58.758Z","repository":{"id":57686616,"uuid":"482657368","full_name":"Iswenzz/gscunit","owner":"Iswenzz","description":"gscunit is a unit testing library for GSC.","archived":false,"fork":false,"pushed_at":"2024-11-18T20:45:41.000Z","size":15742,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-30T21:23:50.181Z","etag":null,"topics":["cod4","gsc","gsclib","typescript","unit-testing"],"latest_commit_sha":null,"homepage":"https://iswenzz.com","language":"GSC","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Iswenzz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"Iswenzz"}},"created_at":"2022-04-17T23:34:17.000Z","updated_at":"2025-06-11T18:54:31.000Z","dependencies_parsed_at":"2025-05-14T14:32:09.766Z","dependency_job_id":"40ebfc4f-33d5-4928-9a8e-b6374587919e","html_url":"https://github.com/Iswenzz/gscunit","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Iswenzz/gscunit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Iswenzz%2Fgscunit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Iswenzz%2Fgscunit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Iswenzz%2Fgscunit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Iswenzz%2Fgscunit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Iswenzz","download_url":"https://codeload.github.com/Iswenzz/gscunit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Iswenzz%2Fgscunit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278891753,"owners_count":26063858,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cod4","gsc","gsclib","typescript","unit-testing"],"created_at":"2024-11-19T04:44:21.169Z","updated_at":"2025-10-08T05:09:11.673Z","avatar_url":"https://github.com/Iswenzz.png","language":"GSC","funding_links":["https://github.com/sponsors/Iswenzz"],"categories":[],"sub_categories":[],"readme":"# gscunit\n\n[![CodeFactor](https://img.shields.io/codefactor/grade/github/Iswenzz/gscunit?label=codefactor\u0026logo=codefactor)](https://www.codefactor.io/repository/github/iswenzz/gscunit)\n[![License](https://img.shields.io/github/license/Iswenzz/gscunit?color=blue\u0026logo=gitbook\u0026logoColor=white)](https://github.com/Iswenzz/gscunit/blob/master/LICENSE)\n\n![](https://i.imgur.com/qLLn0vR.png)\n\nA testing library for GSC, as well as a CLI to run CoD4 binary and run unit tests.\n\n## Instructions\nInstall [gsclib](https://github.com/Iswenzz/gsclib) and it's pre-requisites and copy the libs directory to your mod folder.\n\n## Command Line Interface\nThe CLI can be installed with [NPM](https://www.npmjs.com/).\n```\nnpm install -g gscunit\n```\n```\nOptions:\n      --version   Show version number                                  [boolean]\n  -l, --location  The CoD4 path location                                [string]\n  -t, --target    The CoD4 binary target name\t\t\t\t\t\t\t[string]\n  -a, --args      The CoD4 arguments                                    [string]\n  -p, --profile   The gscunit profile path                              [string]\n      --help      Show help                                            [boolean]\n```\n\n## Example\n```c\n#include libs\\gscunit\\_main;\n#include libs\\gscunit\\_utils;\n\nrunTests()\n{\n    gscunitEnv();\n\n\tsuite(\"Example\");\n\tit(::test_HelloWorld, \"HelloWorld\");\n\n\tsummarize(true);\n}\n\ntest_HelloWorld()\n{\n\tEXPECT_EQ(1 + 1, 2);\n}\n```\nMore advanced examples on the [gsclib](https://github.com/Iswenzz/gsclib/tree/master/libs/gsclib/__test__) library.\n\n## Profile\ngscunit settings can be set with a profile file (.ini)\n```ini\n[CLI]\nlocation=\ntarget=\nargs=\n```\n\n## [Download](https://github.com/Iswenzz/gscunit/releases)\n\n## Contributors:\n***Note:*** If you would like to contribute to this repository, feel free to send a pull request, and I will review your code. Also feel free to post about any problems that may arise in the issues section of the repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiswenzz%2Fgscunit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiswenzz%2Fgscunit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiswenzz%2Fgscunit/lists"}