Run automated tests (unit tests)ΒΆ

We like automated test. All of Timeline’s automated tests can be run with a single command:

python tools/execute-specs.py

If you are working on a specific feature and only want to run a subset of the tests, you can do it like this:

python tools/execute-specs.py --only specs.Event. specs.Category.

Some tests have a bit of randomness to them. So running them multiple times might give different results. We have a script to run the tests a number of times in sequence:

python tools/execute-specs-repeat.py

It works for a subset as well:

python tools/execute-specs-repeat.py --only specs.Event. specs.Category.