-
Notifications
You must be signed in to change notification settings - Fork 43
Running the test suite
Jan Stolarek edited this page Sep 20, 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
To run the tests requiring database access you need to setup PostgreSQL database. Refer to Database setup for instructions how to compile Links with PostgreSQL support. You also need to create links
database and have permissions to access it.