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.11.1.tar.gz
(65.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.11.1-py3-none-any.whl
(111.3 kB
view details)
File details
Details for the file vedro-1.11.1.tar.gz.
File metadata
- Download URL: vedro-1.11.1.tar.gz
- Upload date:
- Size: 65.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d47a4a97dbe0eff2a859a783783e77d71f7f9545fef38609c47508266199756d
|
|
| MD5 |
33c663b16e39e7bee306915b689ff86e
|
|
| BLAKE2b-256 |
bf69daf2ad288377773f714a1c6a00a812b18c1ea0ca35a069acb811905d44b6
|
File details
Details for the file vedro-1.11.1-py3-none-any.whl.
File metadata
- Download URL: vedro-1.11.1-py3-none-any.whl
- Upload date:
- Size: 111.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df5f513e99566ed781e77187c4f5271279f96444569e7aafcf164694cd06010b
|
|
| MD5 |
25a05b14e4408f0310614ce2ffb7ce44
|
|
| BLAKE2b-256 |
37e8c510618cc56ed7ffbe57c136946576a859ea3cf707c1a61873785b4cd3f4
|