Running tests

Every time a commit is pushed to the Github repository, the tests are run on Travis CI.

If you want to run the tests locally, install the required tools:

(nm)$ pip install --upgrade -r <(cat tests/*_requirements.txt)

Test scripts

Test scripts located in the tests directory:

  • runs training with small dataset and small.ini configuration
  • runs unit tests
  • runs pylint
  • runs mypy

All the scripts should be run from the main directory of the repository. There is also in the main directory, that runs all the tests above.