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.3.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for bdd_tester-0.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19c4f2ce364d9332d374cfedafb37b46de9b95e94e68d87a199f6986ebd004a3 |
|
MD5 | 3cea649eab5d7cd3dea6fab052c6b48a |
|
BLAKE2b-256 | 4f09253f4b08de2e3e0e2e3a69226185591a96a2bcac88491a74d7cc641a6fe0 |