A pytest-play docker distribution
7.0K
pytest-play distributed as a docker based command line utility shipped with all supported third party plugins installed for (test) automation playing with YAML files.
See https://hub.docker.com/r/davidemoro/pytest-play.
These instructions will cover usage information and for the docker container
In order to run this container you'll need docker installed.
I assume you have in the current folder a test_*.yml file
containing a valid pytest-play syntax
Main usage
docker run -i --rm -v $(pwd):/src davidemoro/pytest-play
Standard pytest parameters (see pytest)
docker run -i --rm -v $(pwd):/src davidemoro/pytest-play -x -k "something"
Selenium tests (see play_selenium)
docker run -i --rm -v $(pwd):/src davidemoro/pytest-play --splinter-webdriver=remote --splinter-remote-url=http://USERNAME:[email protected]:80/wd/hub
If you are using Windows remove $(pwd) with your current path location.
Included the following pytest plugins and utilities too:
Any help will be appreciated (suggestions, pull requests, donations, beer, wine, articles).
We use SemVer for versioning. For the versions available, see the tags on this repository.
See also the list of pytest-play contributors and pytest-play-docker contributors who participated in this project.
The pytest-play project is licensed under the Apache License 2.0 - see the LICENSE file for details.
Python and pytest community
Andrea Ratto @neg3ntropy - 10 minutes saved for every build thanks to Docker cache
Content type
Image
Digest
Size
400.8 MB
Last updated
almost 7 years ago
docker pull davidemoro/pytest-play