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.0.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.0-py3-none-any.whl
(72.1 kB
view details)
File details
Details for the file vedro-1.8.0.tar.gz.
File metadata
- Download URL: vedro-1.8.0.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 |
d36bb12883f56868b84470ec73ec2e6febe18708b3b443bb01c35b144b89ecf2
|
|
| MD5 |
e9e689a1fe5583bf5ef8c9b466eb0421
|
|
| BLAKE2b-256 |
a1cdb336def6a0756059a89051a014bfc621d4ef9e58c948fd4509021d492559
|
File details
Details for the file vedro-1.8.0-py3-none-any.whl.
File metadata
- Download URL: vedro-1.8.0-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 |
e10dafb3080523d6e547392b70cb3dda888e5964e91e94672b7b78f6dec3c15b
|
|
| MD5 |
695b1fce4ccb4bb0c4c22aa4c664920e
|
|
| BLAKE2b-256 |
4ec5860664b89f0b5e46a64919a4b9685d0023d5021bf3fc32e8100a392bb1bc
|