-
Built using JetBrains CLion
-
Target C version is C11
-
Build using CMake.
-
Tests implemented using CMocka
-
mkdir build
-
cd build
-
cmake -D ENABLE_COVERAGE=TRUE ..
* Initialise build with coverage enabled. -
make
-
ctest -V -T memcheck
* Run tests in verbose mode with Valgrind memcheck.
Or simply run the tests required in CLion by clicking on the green arror in the test file of interest.