Skip to content
Example of Django Selenium testing w/ Docker
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Add app with example test of admin login page Nov 26, 2017
project Add app with example test of admin login page Nov 26, 2017
.gitignore
Dockerfile
README.md Add README and ipdb Dec 16, 2017
docker-compose.yml
manage.py Make it so! Nov 25, 2017
requirements.txt Add README and ipdb Dec 16, 2017

README.md

Example: Django Selenium Tests with Docker

Requirements

  • Docker
  • Docker-compose
  • VNC Viewer (optional for debugging)

Installation

$ docker-compose build

Running the tests

  1. Start the selenium container:

    $ docker-compose start selenium

  2. Open VNC Viewer and connect to localhost:5900. Password is secret

  3. Run the tests

    $ docker-compose run django

You can’t perform that action at this time.