Skip to content

davidemoro/pytest-play-docker

Repository files navigation

Image for: Repository files navigation

pytest-play-docker

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

Image for: 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

Image for: Built With

Included the following pytest plugins and utilities too:

Find Us

Image for: Find Us

Contributing

Image for: Contributing

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

Versioning

Image for: Versioning

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

Authors

Image for: 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

Image for: License

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

Acknowledgments

Image for: Acknowledgments

Sponsored by

Image for: Sponsored by

About

Image for: About

pytest play docker image

Resources

Stars

Watchers

Forks

Releases

Image for: Releases
No releases published

Packages

Image for: Packages 0
No packages published

Contributors 3

Image for: Contributors 3
  •  
  •  
  •