Common steps for pytest bdd and splinter integration
Project description
pytest-bdd-splinter
This module provides a number of common given
, when
, then
steps for
pytest-splinter in
pytest-bdd
Installation
pip install pytest-bdd-splinter
Number of examples
Scenario: Fill in a form
Given I am using a large device
And I am on the homepage
When I go to "/my-contact-form/"
And I fill in the following:
| first_name | John |
| last_name | Doe |
| username | johndoe |
| password | mysecret |
And I press "agree-tos"
And I press "submit"
Then I should be on "/thank-you/"
And I should see "Thank you for creating an account"
More information
Please see the documentation to read more about installation, configuration and an overview of all the available steps.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pytest-bdd-splinter-0.4.0.tar.gz
.
File metadata
- Download URL: pytest-bdd-splinter-0.4.0.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04de0718f1ecf2dc1ed31b817a432dfdecc6243839ddba622df0bcbf7a0222f1 |
|
MD5 | e44d8b583f9741e332d7e74ef33a66dd |
|
BLAKE2b-256 | 8e59c34865101000055bf2fb16a171944dcf14c8905e43828f3ce9febd37ef07 |
File details
Details for the file pytest_bdd_splinter-0.4.0-py2.py3-none-any.whl
.
File metadata
- Download URL: pytest_bdd_splinter-0.4.0-py2.py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c05dd1ff6b482fff9aafb1d2dd5d475ae7a281b2ba71a67ff139bb9d226b51c8 |
|
MD5 | a8f0dead057993b6bc3a3b1f78f3534e |
|
BLAKE2b-256 | 128c81651742b10626662a19c8dda5c147e762466da0a1b9d96074413ee0182e |