No project description provided
Project description
Assess IATI data using behaviour-driven development testing.
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 -r requirements.txt
Run
bdd_tester --feature [Feature file] [IATI XML File]
For more options, run:
bdd_tester --help
Using it programmatically
from bdd_tester import BDDTester
tester = BDDTester(path_to_step_definitions)
feature = tester.load_feature(path_to_feature)
result = feature.tests[0](data_to_test)
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.1.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for bdd_tester-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af6317b9cd0eca618f66c7527bd9f66154f8fda5ba813af908e3ef673390228d |
|
MD5 | f178dfb141546bcfcbc2a51a6e9e7292 |
|
BLAKE2b-256 | 48ec6f7e787844dbc3c3358c35ddc9bb86d246d910f485cc4adbbcd21cc549b8 |