Pragmatic BDD Framework
Project description
Vedro
(!) Work in progress, internal breaking changes 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.5.1.tar.gz
(44.2 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.5.1-py3-none-any.whl
(84.8 kB
view details)
File details
Details for the file vedro-1.5.1.tar.gz.
File metadata
- Download URL: vedro-1.5.1.tar.gz
- Upload date:
- Size: 44.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d4f19be403987c100d69221649265173683ef42aa46692a70d3da5488bde6a7
|
|
| MD5 |
74d54d8fb0c84b956ceb228a1fd3b268
|
|
| BLAKE2b-256 |
ef218b09634de8612c140727a706cd1646f2d30f8fd099268f2a695267577bcd
|
File details
Details for the file vedro-1.5.1-py3-none-any.whl.
File metadata
- Download URL: vedro-1.5.1-py3-none-any.whl
- Upload date:
- Size: 84.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9035f5564c1f90c5bb226907511b625804977c83005555658dae5066f795d4a3
|
|
| MD5 |
6530bc6176cc42da0443fdbe0b762c09
|
|
| BLAKE2b-256 |
3f7c9f3e35c3763effb7124bee149ea642fc04f19f7c33127719a7a739932946
|