BDD Framework (without magic)
Project description
Vedro
(!) Work in progress, 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.0.tar.gz
(44.1 kB
view details)
Built Distribution
vedro-1.5.0-py3-none-any.whl
(84.7 kB
view details)
File details
Details for the file vedro-1.5.0.tar.gz
.
File metadata
- Download URL: vedro-1.5.0.tar.gz
- Upload date:
- Size: 44.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 875938d99451adb3ee356346e304defae205c46e69d7ecdc0e61a5fc5eaa876b |
|
MD5 | f75557d499f5f420bc69e44e8e62069b |
|
BLAKE2b-256 | d15f266d5833dcf47f8804a5f56df1958515e45ed663339cddcd0880d717346d |
File details
Details for the file vedro-1.5.0-py3-none-any.whl
.
File metadata
- Download URL: vedro-1.5.0-py3-none-any.whl
- Upload date:
- Size: 84.7 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 | 6b41f3cd9abb62dcedbc88213bcd505b7d3a5ebd31dd7bc767ba4895c2cc87c7 |
|
MD5 | d833da97effdd2a937a6fc7cd6374c50 |
|
BLAKE2b-256 | 2fb34c2b9d86cc8718554f0bafc89fe7eae5ff85fa50d6709e13921bdef6064c |