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.11.0.tar.gz (64.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.11.0-py3-none-any.whl (110.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vedro-1.11.0.tar.gz
  • Upload date:
  • Size: 64.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for vedro-1.11.0.tar.gz
Algorithm Hash digest
SHA256 4120c9904ad8b79da26105a2463d099dbfc6834fb213164cba8365d497eb63a3
MD5 97463b95bd36dc0aea99ba0cd988566e
BLAKE2b-256 fa8bfca959d2c819ce7d5d1fc73c445094550d5ed80ba9efa721896a1dc49960

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vedro-1.11.0-py3-none-any.whl
  • Upload date:
  • Size: 110.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for vedro-1.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 074734f2b2b885014044d246281e48c36b50d544b674afe467c3648647248d48
MD5 d1a14734982ee69890d72731d48ece1a
BLAKE2b-256 2f77e02dfaab53e814f82c739dd9eb3d53fdaafb714b53aa5a555251cb3bf638

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