A very very basic BDD test runner
Project description
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.
Source Distribution
bdd-tester-0.0.5.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for bdd_tester-0.0.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d671dd05b4f259ef088db6f919b4b03abf0b0557301faed2fd3b85f2c42bd63 |
|
MD5 | 6d3120bfa574ae017e46eeb51d01e326 |
|
BLAKE2b-256 | 8a3a48ccfff5ba9f3321d33a2680d2dc8cafafda83413cea8f37003be00f7ec9 |