You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test markers are defined in pyproject.toml and can be used to create test groupings by using the @pytest.mark function decorator, e.g. @pytest.mark.data.
Once you have set up the environment, running tests is as simple as executing
pytest
from the repo root.
To run tests for a specific mark, you can use
pytest -m markername
The -s flag can be used for displaying output from print statements within tests.
Currently tests are a bit of a mess, but they should keep getting added for new code, and where key and critical workflows are identified.
Debugging
Debugging tests is possible, using various methods, for more info see: Debugging