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.2.0.tar.gz
.
File metadata
- Download URL: pytest-bdd-splinter-0.2.0.tar.gz
- Upload date:
- Size: 4.3 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 | 4c565ae353ec7b686f6ea9d7a100e44db5bb022f31aa83ded9b8865ed28e147f |
|
MD5 | 6fa4cf955e0861537dccd9d22ce5fad6 |
|
BLAKE2b-256 | 00c3b4441c43b385392b1946ee18b72b12c0649cf51d1b91b9649f8fe49e4347 |
File details
Details for the file pytest_bdd_splinter-0.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: pytest_bdd_splinter-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 6.5 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 | 932029356e0b67cb74e0eee81d2d212828b25e8cb0aeae54c910f684e262f3ee |
|
MD5 | 9ac304839ac329ed6a2188f5db60bc60 |
|
BLAKE2b-256 | b68476566f71e631258a27f484156a3ee72a83d71c2bb798831b7c43022f667e |