Skip to content

Running the test suite

Jan Stolarek edited this page Sep 19, 2016 · 10 revisions

To run the Links test suite execute:

./run_tests

This will run all the tests defined in *.tests files inside tests directory, as well as all database tests defined inside tests/database directory. If you only want to run some of the tests you can do this by executing

./test-harness tests/foo.tests

where foo.tests is the name of the file with tests you want to run. If you want to skip tests requiring database access run

./run_tests no-db

If you want to run only those tests that require database access run

./run_tests db-only