Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

A very very basic BDD test runner

Project description

PyPI Package latest release License Travis-CI Build Status Test coverage

Test data files using behaviour-driven development tests, in python.

Wait, what?

It’s a tool to run Gherkin tests (features) against (IATI) data – similar to Cucumber (in Ruby) or Behave (in Python). Here’s a blog that nicely explains the idea.

Install

pip install bdd_tester

Run

bdd_tester --feature [Feature file] --steps [Step file] [Data file]

For more options, run:

bdd_tester --help

Using it programmatically

from bdd_tester import BDDTester


tester = BDDTester(step_definitions_filepath)
feature = tester.load_feature(feature_filepath)
result = feature.tests[0](*args, **kwargs)

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 bdd-tester, version 0.0.8
Filename, size File type Python version Upload date Hashes
Filename, size bdd_tester-0.0.8-py2.py3-none-any.whl (6.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size bdd-tester-0.0.8.tar.gz (4.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page