{"id":28382935,"url":"https://github.com/spectrevert/rite","last_synced_at":"2026-05-01T02:34:14.560Z","repository":{"id":107384811,"uuid":"353604974","full_name":"SpectreVert/rite","owner":"SpectreVert","description":"simple header for testing c/c++ source code","archived":false,"fork":false,"pushed_at":"2022-12-06T15:14:08.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-01T02:34:08.822Z","etag":null,"topics":["c","cpp","tap","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/SpectreVert.png","metadata":{"files":{"readme":"README","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-04-01T06:56:35.000Z","updated_at":"2023-02-20T10:33:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"d9ba323a-fb38-48ca-80e5-f86fbeb314da","html_url":"https://github.com/SpectreVert/rite","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SpectreVert/rite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpectreVert%2Frite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpectreVert%2Frite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpectreVert%2Frite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpectreVert%2Frite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SpectreVert","download_url":"https://codeload.github.com/SpectreVert/rite/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpectreVert%2Frite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32483406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["c","cpp","tap","unit-testing"],"created_at":"2025-05-30T05:07:10.777Z","updated_at":"2026-05-01T02:34:14.553Z","avatar_url":"https://github.com/SpectreVert.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"rite\n----\nsimple header for testing c/c++ source code\n\nTodo\n----\n\n \u003c\u003e document functions\n \u003c\u003e add a demo.c file with examples\n\nAbstract\n--------\nrite.h contains functions for writing tests programs that produce output\nfollowing the Test Anything Protocol. A test harness that knows this protocol\ncan run them and produce reports indicating their success or failure.\n\nThis header was inspired by Nik Clayton's libtap. Appart from the interface,\nwe have pretty much nothing in common with the latter. Our goal is to provide\na very simple, barebones implementation of a TAP producer. We have almost\nno user input checking or error handling. Not using the code as you should\ncan result in undefined behavior.\n\nUsage\n-----\nrite.h is a «stb-style» single-header library. This means that by default\nit only exposes the functions delarations just like a normal header.\n\nTo create the implementation you *must* do this:\n\n #define ZEE_RITE_IMPLEMENTATION\n #include \"rite.h\"\n\nin exactly *one* C or C++ file.\n\nYou can #define ZEE_ASSERT(x) before the #include to avoid using assert.h\n\nRequirements\n------------\n \u003c\u003e a c99 compliant compiler\n\nLicense\n-------\nThe contents of this repository are licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspectrevert%2Frite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspectrevert%2Frite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspectrevert%2Frite/lists"}