https://github.com/labd/pytest-bdd-splinter
https://github.com/labd/pytest-bdd-splinter
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/labd/pytest-bdd-splinter
- Owner: labd
- License: mit
- Created: 2019-06-22T19:34:31.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-05-01T20:58:06.000Z (about 3 years ago)
- Last Synced: 2025-03-28T22:51:10.964Z (about 1 year ago)
- Language: Python
- Homepage: https://pytest-bdd-splinter.readthedocs.io/en/latest/
- Size: 57.6 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES
- License: LICENSE
Awesome Lists containing this project
README
# pytest-bdd-splinter
[](https://codecov.io/gh/labd/pytest-bdd-splinter)
[](https://pypi.python.org/pypi/pytest-bdd-splinter/)
[](https://pytest-bdd-splinter.readthedocs.io/en/latest/)
This module provides a number of common `given`, `when`, `then` steps for
[pytest-splinter](https://github.com/pytest-dev/pytest-splinter) in
[pytest-bdd](https://github.com/pytest-dev/pytest-bdd)
## Installation
```shell
pip install pytest-bdd-splinter
```
## Number of examples
```gherkin
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](https://pytest-bdd-splinter.readthedocs.io/en/latest/)
to read more about installation, configuration and an overview of all the
available steps.