pavlo-kostyshyn/testingrules icon
public
Published on 6/3/2025
Testing Rules

Rules

Testing Guidelines

  • Use pytest for backend unit and integration tests. - Use pytest-cov for coverage reports, target 85%+. - Use Playwright or Vitest for frontend/UI tests. - Separate test configuration (e.g. test_settings.py). - Prefer integration tests over excessive mocking. - Mock external services (e.g. Stripe, email) when necessary.