Registry / testing / munit
library2019-04-06vcpkgunverified

A small but full-featured unit testing framework for C

vcpkg install munit
INSTALL
IMPORT
SIG · MUNIT
M
munit
testingcppv2019-04-06
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

munit/munit.h
#include <munit/munit.h>

Basic µnit test suite

#include <munit/munit.h> static MunitResult test_example(const MunitParameter params[], void* data) { munit_assert_int(42, ==, 42); return MUNIT_OK; } int main(int argc, char* argv[]) { MunitTest tests[] = {{ "/example", test_example, NULL, NULL, MUNIT_TEST_OPTION_NONE, NULL }}; MunitSuite suite = {"/suite", tests, NULL, 1, MUNIT_SUITE_OPTION_NONE}; return munit_suite_main(&suite, NULL, argc, argv); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2019-04-06latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources

No resource links recorded.

munit — pip install munit · libregistry