Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

The Test Suite

JWess edited this page Oct 29, 2015 · 3 revisions

Running the Test Suite

To run the entire test suite there is a large configuration file named suite.json in the /tests/test_configs directory. This configuration file will run all of the tests in 8 threads and two environments (Firefox and Chrome). You can run the test suite from within the /tests directory with the command:

egatest -c test_configs/suite.json

Reverting the Database

Running the suite will change the state of the database, which should be reset before each test run. There is a script in /tests called resetdb.sh which will replace the db.sqlite file with the test_db.sqlite. The full command (on UNIX systems) to reset the database and run the tests is:

./resetdb.sh ; egatest -c test_configs/suite.json