Test suite

RETURNN comes with a huge number of test cases (unit tests and more complex tests) which are automatically run on every Git push and for every GitHub pull request by GitHub Actions defined here.

The test cases are all in the tests directory.

We use nosetests but the tests can also be run manually like:

python3 tests/test_TFEngine.py


python3 tests/test_TFEngine.py test_engine_train