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.2.tar.gz (114.4 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.2-py3-none-any.whl (175.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for vedro-1.13.2.tar.gz
Algorithm Hash digest
SHA256 8e7807361519daff80a81dccce627c3cb0cb700707628c088eecdde69be10241
MD5 fa925d4dd21a4003f6245ddf80bb6f81
BLAKE2b-256 18b1e1685a6c6a88cbe485f5ab492cca620f7d1a4549ff8fe5fefcb03f264456

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for vedro-1.13.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fd2a814aff054073349034d68b1c044097900ea929dc2fe9f6bd8236f5ce5606
MD5 2225055484fe9b66a3fa2aa790833ade
BLAKE2b-256 017e4e8d451c5f05e02d12c5d1ca662eac1edef3b5cd60a7cc781f3f9c0e8859

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