Testing¶
All tests can be found in the tests directory. Before you can run the tests, you should have a working Development Setup.
Any changes to the existing code should still pass the test suite (there are of course exceptions where you’ll have to modify the tests in order for them to pass) and any new features should be covered by new tests.
Python Tests¶
The Python tests are written using pytest and pytest-django. In order to run them, use
$ pytest
JavaScript Tests¶
The JavaScript tests use the Jest testing framework. Use
$ npm run test
to run the tests.