ComputationalPhysiology / gotran

Library for declaring and translating ODEs
http://computationalphysiology.github.io/gotran/
GNU Lesser General Public License v3.0
2 stars 1 forks source link

Fix tests #3

Closed finsberg closed 2 years ago

finsberg commented 4 years ago

Currently all tests are run using the command

python3 utils/run_tests.py

which does not provide any output before it is done running all the tests. Since circleci has a timeout of 10 minutes per tests, and this single command is treated as one test and takes longer than 10 minutes, it means the we cannot run the tests using the current setup.

Ideally it should be possible to run all the tests using a command like

python3 -m pytest gotran

og alternatively put all the tests in a subfolder called tests and run the command

python3 -m pytest tests

By doing so we should also be able to exploit pytest plugins such as pytest-xdist which allows for parallel test execution.

finsberg commented 2 years ago

Fixed in #8