Skip to main content

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.

Files for pytest-bdd-splinter, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size pytest_bdd_splinter-0.4.0-py2.py3-none-any.whl (9.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size pytest-bdd-splinter-0.4.0.tar.gz (6.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page