- Docker & Docker compose
docker compose build
docker compose up -d selenium
On your host, open http://localhost:7900 and click "Connect".
docker compose run --rm --use-aliases django pytest
You can interact with the browser using breakpoints.
Example: drop into pdb at the beginning of each test with --trace
.
docker compose run --rm --use-aliases django pytest --trace