Skip to content

pytest-play example. A simple parametrized login form based on pure json scenarios. No python at all

Notifications You must be signed in to change notification settings

davidemoro/pytest-play-plone-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pytest-play basic example that shows how to automate a Plone login using parametrized tests based on pure json scenarios. It is just a hello world test for demonstrative purpose.

Prerequisites:

How to run the tests:

$ virtualenv --no-site-packages --python $(which python3.6) python
$ source python/bin/activate
$ pip install -r https://raw.githubusercontent.com/davidemoro/cookiecutter-qa/master/%7B%7Bcookiecutter.project_slug%7D%7D/requirements.txt
$ pytest --variables env-ALPHA.yml --splinter-webdriver firefox --splinter-screenshot-dir /tmp -x

In addition a bzt/Taurus index.yml file is provided too (suitable for a BlazeMeter cloud run with bzt index.yml) after installing bzt with pip install bzt.

See:

pytest-play is shipped by default by a more opinionated cookiecutter scaffolding tool with many options (selenium grid ready, Jenkins integration, etc). Have a look at:

About

pytest-play example. A simple parametrized login form based on pure json scenarios. No python at all

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published