BDD Tester
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)
Metadata
Release files for bdd-tester 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bdd-tester-0.0.8.tar.gz | 4.3 kB | Without provenance | Details for bdd-tester-0.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bdd_tester-0.0.8-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for bdd_tester-0.0.8-py2.py3-none-any.whl |
Total release size: 10.6 kB
Release files / bdd-tester-0.0.8.tar.gz
| Download URL | bdd-tester-0.0.8.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f171455e98c3cfd8e7e685252cad95688e0fe6e747592071da14fd39725fc65a
|
|
BLAKE2b-256 checksum How to use checksums |
e2c0a64c504daabc15e855eebef91df84afa6ed5537b6d1be32348ec67714178
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / bdd_tester-0.0.8-py2.py3-none-any.whl
| Download URL | bdd_tester-0.0.8-py2.py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d8f38f47bc1a5cbdf572d2d1a69fd5f56569f265aaf06f66fd54f534dd728f60
|
|
BLAKE2b-256 checksum How to use checksums |
05bb6c995dcaefb3d93e2bf38b28ad30655b1d27701705749914170eb5031024
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for bdd-tester 0.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.