forked from ReactionMechanismGenerator/RMG-Py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pytest.ini
27 lines (27 loc) · 1012 Bytes
/
pytest.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[pytest]
required_plugins =
pytest-cov
pytest-check
# all unmarked tests are considered unit tests
markers =
functional: functional tests
database: database tests
filterwarnings =
ignore:.*escape seq.*:DeprecationWarning
ignore:.*conditioned matrix.*:scipy.linalg.LinAlgWarning
# other useful options:
# --disable-warnings to ignore the enormous number of warnings completely
# --last-failed to run only the tests which failed on the previous run
# --show-capture no/stdout/stderr/both
# -k "test name" will run only the tests that match the pattern in quotes, i.e. "test_arkane or test_rmg" would run those two tests
# -n auto # will use all available cores, if you first pip install pytest-xdist, but it doesn't work well with julia (so add --no-julia? or give up?)
addopts =
--keep-duplicates
-p julia.pytestplugin
-vv
--ignore test/regression
--cov=arkane --cov=rmgpy
--cov-report html
testpaths = test
python_files = *Test.py
python_classes = *Test Test*