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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vedro-1.12.3-py3-none-any.whl (130.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vedro-1.12.3.tar.gz
  • Upload date:
  • Size: 80.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.11

File hashes

Hashes for vedro-1.12.3.tar.gz
Algorithm Hash digest
SHA256 d90fde0b3b43e1830ebff6bde1b66bd160877d5846f637aec8daced8dc328c42
MD5 64586cd5c0097cbc01e6e0d62553d939
BLAKE2b-256 860cbd3a56600441daf57bc7c196115e43b4143c61c1da97eef499695862c117

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vedro-1.12.3-py3-none-any.whl
  • Upload date:
  • Size: 130.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.11

File hashes

Hashes for vedro-1.12.3-py3-none-any.whl
Algorithm Hash digest
SHA256 94c86f83693bad079995b47480df468822fcb29ddde681babd4522f0cccb8886
MD5 7822753c774d3960530b70ed1fd5dcae
BLAKE2b-256 4bd3835c0c4a93fee00fc58cd6a61a9f698025b27c795d9d3de5a48f358380d8

See more details on using hashes here.

Supported by

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