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.7.2.tar.gz
(34.3 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.7.2-py3-none-any.whl
(62.3 kB
view details)
File details
Details for the file vedro-1.7.2.tar.gz.
File metadata
- Download URL: vedro-1.7.2.tar.gz
- Upload date:
- Size: 34.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
caceeb51240570657af509dcb06fce101236d883ed7af9a7ed6fd43f710b055f
|
|
| MD5 |
8ecd4f323af0b1de81253fdaa447e9c1
|
|
| BLAKE2b-256 |
864a423b9a15d10846db9220701d66ff5324f1e9b2eb10b01972c5a9b43e6400
|
File details
Details for the file vedro-1.7.2-py3-none-any.whl.
File metadata
- Download URL: vedro-1.7.2-py3-none-any.whl
- Upload date:
- Size: 62.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eedfb35ec1c92e67da119f814d42f5e9c2776ea7a4e0fd5804f94883e545a220
|
|
| MD5 |
54f37a5525fc53dd87f4fdb99582b7d5
|
|
| BLAKE2b-256 |
e8f6b9fe6c420b2dbae99ff2e487527ad63cf33ca489092bae21445bdc06aed7
|