Testing

Slxio has moved from GoogleTest to the doctest framework for lightweight and efficient testing since version 0.1.0. Testing is enabled via the CMake option ENABLE_TESTING.

4.1 Running Tests

To run all unit tests after building, use:

ctest -C Debug --output-on-failure

This will execute all project unit tests by default.

Note: Code coverage is not yet supported.

4.2 Debugging Test Failures

If a test fails, check Testing/Temporary/LastTest.log, test/testSubDir/${testname}/${testname}.vg.out, and other similar files.


This site uses Just the Docs, a documentation theme for Jekyll.