Pragmatic Testing Framework
Project description
Vedro
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.12.2.tar.gz
(79.4 kB
view details)
Built Distribution
vedro-1.12.2-py3-none-any.whl
(129.6 kB
view details)
File details
Details for the file vedro-1.12.2.tar.gz
.
File metadata
- Download URL: vedro-1.12.2.tar.gz
- Upload date:
- Size: 79.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 684ad8900248aa95151cb2b7068bcba6aaaea08a428b0a420abc2362ec629419 |
|
MD5 | 863b3ede08c27ab39eb67c1cca032b81 |
|
BLAKE2b-256 | 561faffde1c87f352d4d061a5602a6b6f091751a92e621296309550282574c35 |
File details
Details for the file vedro-1.12.2-py3-none-any.whl
.
File metadata
- Download URL: vedro-1.12.2-py3-none-any.whl
- Upload date:
- Size: 129.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94070d6d0e44ed97ef105519d0103198d97878f244c667c36a0daff668ba1afa |
|
MD5 | 757781cd8081f3e3425c1edeb265b724 |
|
BLAKE2b-256 | 810a8c155686e4e5d91233f5b0cde43792bc6737d767775ae72e2a6d3facce10 |