Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example: Django Selenium Tests on Pytest with Docker

I've adapted marcgibbons/django-selenium-docker replacing unittest with pytest with the help of pytest-django

  1. Install docker

  2. Launch selenium & django

    docker-compose up
  3. Open localhost:7900 in your browser to view Selenium in action. Password is secret

    selenium/standalone-chrome uses NoVNC to hook into the running selenium browser

  4. Hook in to the running Django container and run the tests

    docker exec django bash
    pytest

Releases

Packages

Contributors

Languages