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.13.4.tar.gz (114.5 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.13.4-py3-none-any.whl (175.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vedro-1.13.4.tar.gz
  • Upload date:
  • Size: 114.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for vedro-1.13.4.tar.gz
Algorithm Hash digest
SHA256 59c1deb93e629124b77adcef916bd2da19d306fbd3db53693d9b5d7e0b834f9d
MD5 8745d1b60c70403668c857d0df83f940
BLAKE2b-256 3e83e5fd27764bd9348026de0e6e58f1b677d9f89cff44268b674510d5818491

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vedro-1.13.4-py3-none-any.whl
  • Upload date:
  • Size: 175.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for vedro-1.13.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cfa55c08761cc21421ce8280183aa130defeaad0c60a155687a7c8bea82d26b4
MD5 b0cc20baef2600a3893ac5e5fc4facf8
BLAKE2b-256 8bcb783618e83cb417325b6fec5ef79bf479770cf8457bf13aa1d7361453e21b

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