1. Edd Dawson
  2. test_o_matic


Clone wiki

test_o_matic / Compilation

Compilation instructions

test-o-matic is small enough to be included directly in any project. #include test_o_matic.hpp where needed and compile and link against test_o_matic.cpp

The repository also includes some self-tests. If you just want to start writing tests, you can ignore these.

Compiling test-o-matic's self-tests

The recommended way to compile these is to use doozer. Download doozer.py and prepare a config file. Then the following command line will build and run the tests:

python doozer.py test_o_matic/make.py variant=<your-config>.cfg

If you want to compile the tests another way, it should be easy enough. Just do the usual thing with all the .cpp files and link them in to an executable.