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
Close
Hashes for pytest-bdd-splinter-0.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04de0718f1ecf2dc1ed31b817a432dfdecc6243839ddba622df0bcbf7a0222f1 |
|
MD5 | e44d8b583f9741e332d7e74ef33a66dd |
|
BLAKE2b-256 | 8e59c34865101000055bf2fb16a171944dcf14c8905e43828f3ce9febd37ef07 |
Close
Hashes for pytest_bdd_splinter-0.4.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c05dd1ff6b482fff9aafb1d2dd5d475ae7a281b2ba71a67ff139bb9d226b51c8 |
|
MD5 | a8f0dead057993b6bc3a3b1f78f3534e |
|
BLAKE2b-256 | 128c81651742b10626662a19c8dda5c147e762466da0a1b9d96074413ee0182e |