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.

Source Distribution

pytest-bdd-splinter-0.3.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

pytest_bdd_splinter-0.3.0-py2.py3-none-any.whl (6.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pytest-bdd-splinter-0.3.0.tar.gz.

File metadata

  • Download URL: pytest-bdd-splinter-0.3.0.tar.gz
  • Upload date:
  • Size: 4.6 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

Hashes for pytest-bdd-splinter-0.3.0.tar.gz
Algorithm Hash digest
SHA256 eaa84187671ec094afc98ca479e4c59a8e4623315467ebde4d9be26a782b2182
MD5 c771c7ce7c07c21aa356519a25bfac7e
BLAKE2b-256 6f5461247394875ada8cbc5cf9c4d00f86ef826d2e191d86075d92dea6e21834

See more details on using hashes here.

File details

Details for the file pytest_bdd_splinter-0.3.0-py2.py3-none-any.whl.

File metadata

  • Download URL: pytest_bdd_splinter-0.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.9 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

Hashes for pytest_bdd_splinter-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 73469ed564e78ff50a96f6704830ba71288d737d21793ab971381a88b7248191
MD5 302485f6f149a1a7fee5846ae64525fc
BLAKE2b-256 1858087a69b3d6971a6d764c995c31f44278ccd46cec4a06365c9ed7f25eaf18

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page