Selenium Grid Docker Swarm Test Save

Distribute automated tests with Selenium Grid and Docker Swarm

Project README

Distributed Testing with Selenium Grid and Docker

Distribute automated tests with Selenium Grid and Docker Swarm

Want to learn how to build this?

Check out the post.

Want to use this project?

  1. Fork/Clone

  2. Create and activate a virtual environment

  3. Install the requirements

  4. Sign up for Digital Ocean and generate an access token

  5. Add the token to your environment:

    $ export DIGITAL_OCEAN_ACCESS_TOKEN=[your_token]
    
  6. Spin up five droplets and deploy Docker Swarm:

    $ sh project/create.sh
    
  7. Set the environment variable:

    $ eval $(docker-machine env node-1)
    $ NODE=$(docker service ps --format "{{.Node}}" selenium_hub)
    $ export NODE_HUB_ADDRESS=$(docker-machine ip $NODE)
    
  8. Run the tests:

    $ python project/parallel_test_run.py
    
  9. Bring down the resources:

    $ sh project/destroy.sh
    
Open Source Agenda is not affiliated with "Selenium Grid Docker Swarm Test" Project. README Source: testdrivenio/selenium-grid-docker-swarm-test
Stars
28
Open Issues
1
Last Commit
3 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating