BETSE is rigorously tested with a comprehensive test suite comprising both functional and unit tests.
BETSE is manually testable by py.test at the command line. Either:
-
Run all available tests. Either:
-
Run
test, the provided Bash shell script wrapper. For convenience, this script is runnable from any directory (including the top-level BETSE directory) and accepts all arguments accepted by thetestsubcommand (detailed below):$ ./test -
Run the
setuptools-driventestsubcommand. Due tosetuptoolsconstraints, this subcommand is runnable only from the top-level BETSE directory:$ cd "${BETSE_DIR}" $ python3 setup.py test
-
-
Run all tests matching a passed Python-evaluatable expression. For example, to run all test functions and classes whose names contain either
test_tartarusortest_thalassa:$ cd "${BETSE_DIR}" $ python3 setup.py test -k 'test_tartarus or test_thalassa'
BETSE is continuously integrated by GitLab-CI on each commit pushed to each branch of BETSE's GitLab-hosted Git repository.