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.1.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.1-py3-none-any.whl
(62.3 kB
view details)
File details
Details for the file vedro-1.7.1.tar.gz.
File metadata
- Download URL: vedro-1.7.1.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 |
89e5e1326b7464b965567ad52067f8d7a5da19ea9c64b33895bc4f17f298ed06
|
|
| MD5 |
59db5055d9ee73b1a6c607f38e183526
|
|
| BLAKE2b-256 |
ac41849647a57d045de5456536e3b7e18033d710d6c5547facd42e2838f9b8b1
|
File details
Details for the file vedro-1.7.1-py3-none-any.whl.
File metadata
- Download URL: vedro-1.7.1-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 |
b5fa290694948aaef12ca6d55c795e1dc66aaaab45f1c4682e8117d0ff52e62d
|
|
| MD5 |
9cd9e983dc18a4c938cdc283ebfbb52e
|
|
| BLAKE2b-256 |
ec1830ac670e036dc7d1abe78cd9c711041cdeef91dc2cf9512efc1afc1e7bf9
|