pytest play docker image
Branch: master
Clone or download
Latest commit 02eb249 Feb 16, 2019

README.md

pytest-play-docker

Build Status Updates

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.

Getting Started

These instructions will cover usage information and for the docker container

Prerequisities

In order to run this container you'll need docker installed.

Usage

I assume you have in the current folder a test_*.yml file containing a valid pytest-play syntax

Container Parameters

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:ACCESS_KEY@hub.browserstack.com:80/wd/hub

If you are using Windows remove $(pwd) with your current path location.

Built With

Included the following pytest plugins too:

Find Us

Contributing

Any help will be appreciated (suggestions, pull requests, donations, beer, wine, articles).

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Davide Moro - Initial work - blog

See also the list of pytest-play contributors and pytest-play-docker contributors who participated in this project.

License

The pytest-play project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Acknowledgments

Sponsored by

Browserstack