cabral / kabiria

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example: Django Selenium Tests with Docker

Requirements

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

Installation

$ docker-compose build

Environment settings

$ cp .env-example .env

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

  4. No on you can integrations tests with:

    $ python manage.py test --exclude-tag=selenium

About


Languages

Language:JavaScript 41.3%Language:Python 28.3%Language:HTML 24.5%Language:CSS 5.3%Language:Dockerfile 0.6%