2021-05-13 20:29:44 +08:00

345 B

#Tests

Unit tests

Dependencies

  • lcov

Unit test

use minunit

Refer to example

minunit README

Coverage

Refer to example

Use your own $PROJECT and $SOURCES

mkdir build
cd build
cmake .. -G Ninja
ninja
ninja lcov

if all tests passes, coverage report will be in the report directory