Skip to content

Testing

Philip Perricone edited this page Oct 13, 2017 · 4 revisions

First, ensure both bin/joy and bin/unit_test exist by running either make or make unit_test. Then you can manually run the unit tests:

./test/unit_test

Or the black box tests:

./test/run_tests.py

You may also automatically build the binaries and run the tests in one swoop by executing:

make test

The test programs will indicate success or failure on the command line. Please see test/README.md for more information on blackbox testing.

Windows

Build the unit-test project. Make sure that unit-test.exe has access to the required DLL files either by placing them together in the same directory, or modifying the debug environment as described above in the "Building - Windows" section. Then you may run the unit-test.exe executable either through the command line or the Visual Studio IDE.

Clone this wiki locally