test package

Tests for Python(P)DEVS-BBL.

Execute this file to accurately set the pythonpath and run the tests. By default, the dependencies directory is ignored and verbosity is enabled. Pass additional pytest arguments to run the tests you require.

Note

The test.extra.test_mathutils module takes a while to execute. See its documentation for more details.

Likewise, the tests in the test.extra.test_distributions may take slightly longer than expected. Especially the tests for the binomial, pearson6, johnsonU, johnsonB and negbinomial distributions. This is mainly due to a large amount of parameters that’s being tested.

# To execute only the 'fast' tests of the generic package
# Execute from the 'src/test' folder.

python3 __init__.py --ignore=extra/test_mathutils.py --ignore=extra/test_distributions.py .