Running tests
This page describes how to run tests locally using pytest
.
Instructions
To run tests marked as unit
tests:
pytest -m "unit" -v
To run tests marked as integration
tests:
pytest -m "integration" -v
To run tests marked as e2e
tests:
pytest -m "e2e" -v
To run all tests:
pytest
NOTE: Pre-commit hooks will only run those tests marked as
unit
.