Skip to main content

Pragmatic BDD Framework

Project description

Vedro

Codecov PyPI PyPI - Downloads Python Version

(!) Work in progress, internal breaking changes (for plugins) are possible until v2.0 is released

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.8.0.tar.gz (39.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.8.0-py3-none-any.whl (72.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vedro-1.8.0.tar.gz
  • Upload date:
  • Size: 39.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for vedro-1.8.0.tar.gz
Algorithm Hash digest
SHA256 d36bb12883f56868b84470ec73ec2e6febe18708b3b443bb01c35b144b89ecf2
MD5 e9e689a1fe5583bf5ef8c9b466eb0421
BLAKE2b-256 a1cdb336def6a0756059a89051a014bfc621d4ef9e58c948fd4509021d492559

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vedro-1.8.0-py3-none-any.whl
  • Upload date:
  • Size: 72.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for vedro-1.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e10dafb3080523d6e547392b70cb3dda888e5964e91e94672b7b78f6dec3c15b
MD5 695b1fce4ccb4bb0c4c22aa4c664920e
BLAKE2b-256 4ec5860664b89f0b5e46a64919a4b9685d0023d5021bf3fc32e8100a392bb1bc

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