django-planet
Oct. 8, 2024

Optimizing Test Execution: Running live_server Tests Last with Pytest

in blog timonweb.com
original entry Optimizing Test Execution: Running live_server Tests Last with Pytest

When working with Django applications, it's common to have a mix of fast unit tests and slower end-to-end (E2E) tests that use Pytest's live_server fixture and browser automation tools like Playwright or Selenium. To ensure my test suite runs efficiently, I want to execute the slower tests at …

Read now