-
Notifications
You must be signed in to change notification settings - Fork 5
Unit tests
This project uses unit tests to guarantee correctness of the code and make it easier to update dependencies without breaking anything.
Whenever a new feature is implemented, the corresponding unit tests should also be written. The list below should be updated.
The tests can be run by invoking scripts/run_tests.sh
from the project root directory. The test database is generated the first time you run the script and kept in order to speed up the test execution.
This means that you have to call scripts/delete_test_database.sh
because the test database is not synchronized with the code!
Currently, there are no tests.
Some testing data is stored in so called fixtures. The most important data is:
name: root
password: root
-
name: Max Mustermann
password: testtest
email: example@host.com -
name: Maxima Musterfrau
password: testtest
email: example_2@host.com