-
Notifications
You must be signed in to change notification settings - Fork 101
Running the tests
Erik Smistad edited this page Jan 24, 2017
·
6 revisions
After the framework has been compiled you can download the test data and run the unit and system tests to make sure the framework is working properly on your system. Note that the CMake option FAST_BUILD_TESTS must be set for the tests to be compiled.
To be able to run all the tests you must download the public test data from:
http://www.idi.ntnu.no/~smistad/FAST_Test_Data.zip
CMake will download the test data automatically on configure unless FAST_DOWNLOAD_TEST_DATA is set to OFF/FALSE.
The test framework used is called Catch and here are some examples of how to use it:
# Run all tests
./bin/testFAST
# See a list of all tests available
./bin/testFAST -l
# Run tests with a specific tag
./bin/testFAST [SliceRenderer]
If this wiki page lacks some information or is incorrect please let us know! You can edit this wiki page yourself, send an email to [email protected] or