Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 509 Bytes

testing.md

File metadata and controls

21 lines (15 loc) · 509 Bytes

Testing

This project uses pytest and pytest-asyncio for testing, along with unittest for unit testing (particularly for mocking and patching).

Run tests

Tests can be run using the test script:

./scripts/test.sh

The script runs pytest with the following features:

  • Code coverage reporting (minimum 80% coverage required)
  • Coverage reports in terminal, HTML, and XML formats
  • Verbose output

You can pass additional pytest arguments to the script:

./scripts/test.sh -s