Create a pytest.ini in /tests to maintain test configuration.
Example from cogent3;
markers = ["slow: marks tests as slow (deselect with '-m \"not slow\"')"]
adopts = ["--strict-config","-ra"]
testpaths= "tests" # may be unnecessary if tests are run in that path
Create a pytest.ini in /tests to maintain test configuration.
Example from cogent3;
markers = ["slow: marks tests as slow (deselect with '-m \"not slow\"')"] adopts = ["--strict-config","-ra"] testpaths= "tests" # may be unnecessary if tests are run in that path
decorating slow tests in Python
usage:
vs