Pragmatic BDD Framework
Project description
Vedro
(!) Work in progress, internal breaking changes (for plugins) are possible until v2.0 is released
Installation
$ pip3 install vedro
Usage
# ./scenarios/decode_base64_encoded_string.py
import base64
import vedro
class Scenario(vedro.Scenario):
subject = "decode base64 encoded string"
def given(self):
self.encoded = "YmFuYW5h"
def when(self):
self.decoded = base64.b64decode(self.encoded)
def then(self):
assert self.decoded == b"banana"
$ vedro run
Documentation
🚀 vedro.io
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vedro-1.8.2.tar.gz
(39.4 kB
view details)
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
vedro-1.8.2-py3-none-any.whl
(72.1 kB
view details)
File details
Details for the file vedro-1.8.2.tar.gz.
File metadata
- Download URL: vedro-1.8.2.tar.gz
- Upload date:
- Size: 39.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64abca30a9cca3debc9e0b6f6af74ba8890b0ca33a05b33ea635d67c68bcdac5
|
|
| MD5 |
fe6fc55f1e4206467eb05df5d28e8a33
|
|
| BLAKE2b-256 |
5a2c3019377be53d287f82ccbd15b5a1bb2444a515c48ff4109e7c7d6179aa65
|
File details
Details for the file vedro-1.8.2-py3-none-any.whl.
File metadata
- Download URL: vedro-1.8.2-py3-none-any.whl
- Upload date:
- Size: 72.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
543d80fe6570f277aca062144baa50421e840bf97e66cda2dc44515ed27bec00
|
|
| MD5 |
f22b585e90363a452ccb9e6acd949c79
|
|
| BLAKE2b-256 |
99997113d2b04f26d7aa4921f70a208c0b1a7af25bf3a16f76857f498c47db67
|