{"id":34590508,"url":"https://github.com/an-prata/scrutiny","last_synced_at":"2026-05-28T11:31:21.146Z","repository":{"id":65422819,"uuid":"583735022","full_name":"an-prata/scrutiny","owner":"an-prata","description":"A simple, easy to use, and lightweight unit testing framework written in and for C.","archived":false,"fork":false,"pushed_at":"2023-07-10T21:31:31.000Z","size":75,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-07-10T22:28:34.762Z","etag":null,"topics":["benchmarking","c","unit-testing"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/an-prata.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-12-30T18:32:53.000Z","updated_at":"2023-07-10T22:28:34.763Z","dependencies_parsed_at":"2023-02-12T18:45:31.412Z","dependency_job_id":null,"html_url":"https://github.com/an-prata/scrutiny","commit_stats":null,"previous_names":[],"tags_count":4,"template":null,"template_full_name":null,"purl":"pkg:github/an-prata/scrutiny","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/an-prata%2Fscrutiny","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/an-prata%2Fscrutiny/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/an-prata%2Fscrutiny/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/an-prata%2Fscrutiny/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/an-prata","download_url":"https://codeload.github.com/an-prata/scrutiny/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/an-prata%2Fscrutiny/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33607334,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"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":["benchmarking","c","unit-testing"],"created_at":"2025-12-24T10:50:40.251Z","updated_at":"2026-05-28T11:31:21.141Z","avatar_url":"https://github.com/an-prata.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# scrutiny\nA simple, easy to use, and lightweight unit testing framework written in and for C. Just make test functions that take `void` parameters and return `void`. Add their pointers to an array of `scrutiny_unit_test_t`s (these are `typedef`s of `void (*func)(void)`) and terminate the array with a NULL pointer, pass this array into `scrutiny_run_tests()` as the only argument and you get instant test feedback. Examples can be found in `examples/`.\n\nTo add scrutiny to your own projects just include the single header file and compile with the single `scrutiny.c` cource file. To run tests it may be benificial to use an `#ifdef` or similar switch out the `main()` function. Alternitavely you could create a seperate source directoy containing your tests, and include the code you want to test in that.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fan-prata%2Fscrutiny","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fan-prata%2Fscrutiny","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fan-prata%2Fscrutiny/lists"}