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.1.tar.gz (114.0 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.1-py3-none-any.whl (175.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vedro-1.13.1.tar.gz
  • Upload date:
  • Size: 114.0 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.1.tar.gz
Algorithm Hash digest
SHA256 e6bd67e7b98fd74db7df5933cde8a14f4c14d44a9078a255199325698322bb14
MD5 daf0d529ad6dbb1ec2dff3760fd13ed6
BLAKE2b-256 c3207a3f23e223fcc81ccc32fcd0c3a60fc73d9ca7162dcc483ca1f29e123689

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vedro-1.13.1-py3-none-any.whl
  • Upload date:
  • Size: 175.1 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6981ba35e030f85005b43f8344c4c2bc25c072759f43245c4b1189d6c0b98818
MD5 e808d620a91c3a26dc5f68b748e98c60
BLAKE2b-256 b7f4e97c8f53c88966901a2e0aab206b046389eb2378d9c3e669e8a379f87e03

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