munit
munit copied to clipboard
µnit is a small testing framework for C
Hi @nemequ ! I've added some options to the `EXTRA_WARNINGS` - and I also fixed the warnings I've found in my build environment. Tested platforms: * M1 Mac(clang 13.1.6) *...
Fixes #81 and #83 Changes --- * Fix issue where the number of iterations in nested suites is not used. Example: ``` ... static MunitSuite main_suite[] = { {"unit_tests/", unit_tests,...
Hey there, nice project! I have been using it a bunch, in particular the suites of suites feature. One use case for me is having a suite dedicated for benchmark...
Execute all children test suites after the user suggests a test suite. Examples with test suites: ``` run_test "Executing at first level" "/perf" ``` will execute: ``` Executing at first...
When the user selects a test suite (with the prefix) I'd like to iterate all the children test suites. Submitting a PR too.
So I'm planning on using this project in my, *GNU moreutils `vipe` utility*, rewrite. I was curious what the version management strategy is for this project. I noticed there's a...
Hi, I am quite new to munit and c programming in general so my apologies in advance if I'm missing something. I would like something similar to paramatised tests but...
munit hits some new warnings in gcc-11: ``` CC tests/unit-tests/munit/munit.o ../tests/unit-tests/munit/munit.c:1836:47: warning: argument 4 of type ‘char * const[argc + 1]’ declared with mismatched bound ‘argc + 1’ [-Wvla-parameter] 1836...
MinGW 8.1 x64 from https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/8.1.0/threads-win32/seh/