Skip to main content

Pragmatic Testing Framework

Project description

Vedro

Codecov PyPI PyPI - Downloads Python Version

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


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.1.tar.gz (79.4 kB view details)

Uploaded Source

Built Distribution

vedro-1.12.1-py3-none-any.whl (129.6 kB view details)

Uploaded Python 3

File details

Details for the file vedro-1.12.1.tar.gz.

File metadata

  • Download URL: vedro-1.12.1.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

Hashes for vedro-1.12.1.tar.gz
Algorithm Hash digest
SHA256 4d0b8d2564cc3cc806bd34164dd0b72eb9b3f08f5e35b91016fa9ed26e9c8c24
MD5 a817fd4c9b74f26bff81bdd82221ed93
BLAKE2b-256 48c7d415c84832f699e2273e0b6933ebc5b538c636bd02f6f07e9fc346fbd27e

See more details on using hashes here.

File details

Details for the file vedro-1.12.1-py3-none-any.whl.

File metadata

  • Download URL: vedro-1.12.1-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

Hashes for vedro-1.12.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d130e19b1ad1a5e3694d0bf514fdd4853f658cc4e88093175278af61693758f5
MD5 560b68b89b6298a397aacabee6a168e1
BLAKE2b-256 87598a07e72ae588d0526426b2b0b67d6567cd3d6ea78e3ed2f1db9c6cb70c41

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page