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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bdd-tester-0.0.8.tar.gz.
File metadata
- Download URL: bdd-tester-0.0.8.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f171455e98c3cfd8e7e685252cad95688e0fe6e747592071da14fd39725fc65a
|
|
| MD5 |
55c14dcb614ea8ccb310a2e6843b687c
|
|
| BLAKE2b-256 |
e2c0a64c504daabc15e855eebef91df84afa6ed5537b6d1be32348ec67714178
|
File details
Details for the file bdd_tester-0.0.8-py2.py3-none-any.whl.
File metadata
- Download URL: bdd_tester-0.0.8-py2.py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8f38f47bc1a5cbdf572d2d1a69fd5f56569f265aaf06f66fd54f534dd728f60
|
|
| MD5 |
1bcc85b7c60c6df7f1bed56c365ce727
|
|
| BLAKE2b-256 |
05bb6c995dcaefb3d93e2bf38b28ad30655b1d27701705749914170eb5031024
|