{"id":18840215,"url":"https://github.com/maxim2266/mite","last_synced_at":"2025-08-24T18:35:14.690Z","repository":{"id":151956878,"uuid":"348462141","full_name":"maxim2266/mite","owner":"maxim2266","description":"Minimalist test framework for C language.","archived":false,"fork":false,"pushed_at":"2024-10-15T20:42:18.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-30T09:42:14.719Z","etag":null,"topics":["c","test","testing","testing-framework"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxim2266.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-16T19:04:30.000Z","updated_at":"2024-10-15T20:42:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"fea6ee31-5c66-4ef2-ae57-799fcc3987f7","html_url":"https://github.com/maxim2266/mite","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxim2266%2Fmite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxim2266%2Fmite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxim2266%2Fmite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxim2266%2Fmite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxim2266","download_url":"https://codeload.github.com/maxim2266/mite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239776962,"owners_count":19695187,"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","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","test","testing","testing-framework"],"created_at":"2024-11-08T02:46:47.000Z","updated_at":"2025-02-20T04:28:10.249Z","avatar_url":"https://github.com/maxim2266.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mite: minimalist test framework for C language.\n\n[![License: BSD 3 Clause](https://img.shields.io/badge/License-BSD_3--Clause-yellow.svg)](https://opensource.org/licenses/BSD-3-Clause)\n\n### Usage\n\nAdd file `mite.c` to the target project and include `mite.h` header into every test source.\nThe framework defines its own `main` function, so the file with the project's `main` should\nbe excluded from the test set-up.\n\nTest case example:\n```C\n#include \"mite.h\"\n\nTEST_CASE(my_test_case)\n{\n\t...\n\tTEST(some_ptr != NULL);\n\tTESTF(some_value \u003e 0, \"invalid value %d\", some_value);\n\t...\n}\n```\n\nEvery binary compiled with this framework also accepts command line options:\n```\n▶ test_mite_binary --help\nUsage: test_mite_binary [OPTION]...\n\nOptions:\n  -a, --all              do not stop at the first failed test\n  -f, --filter PATTERN   run only the tests matching the given\n                         regular expression PATTERN\n  -h, --help             show this message and exit\n```\n\n#### Status\nTested on Linux Mint 20.1.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxim2266%2Fmite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxim2266%2Fmite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxim2266%2Fmite/lists"}