Testing#

We use pytest for tests. From the project root:

pytest
# or, if installed with poetry:
poetry run pytest

Tips#

  • Run a subset:

    pytest tests/contractor -q
    
  • Stop on first failure:

    pytest -x
    
  • Show print/log output:

    pytest -s