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

Uploaded Python 3

File details

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

File metadata

  • Download URL: vedro-1.11.2.tar.gz
  • Upload date:
  • Size: 65.5 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.2.tar.gz
Algorithm Hash digest
SHA256 4939161cafc0ccaed4719259e1fbadd7e26185c8499a85843ac50e93cd81cb58
MD5 4abdb5a15a48c32050b51943a6dc4050
BLAKE2b-256 80012ff490e76c7e45e81f22e11b9181ce139f0b48f57507a47299ea7537e365

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vedro-1.11.2-py3-none-any.whl
  • Upload date:
  • Size: 111.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2691716b45c3da5155d6b2f3f797b3c155b0580c4f716c9e41dd20db6de802cb
MD5 b22292c60c6be4231c34a54172c4b92d
BLAKE2b-256 d1fadee9d62b735066c34a22c93c8c2832c674cd6a1db95abe890e1a2a8b0691

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