Skip to main content

Pragmatic BDD Framework

Project description

Vedro

Codecov PyPI PyPI - Downloads Python Version

(!) Work in progress, internal breaking changes 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.6.0.tar.gz (46.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.6.0-py3-none-any.whl (88.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for vedro-1.6.0.tar.gz
Algorithm Hash digest
SHA256 d8eddcfa538b476ffa51c6411d37c0bab01cf3ce712449807483643ab76e55d1
MD5 3bce81739b9ec487caf4fa54c75057a6
BLAKE2b-256 0c65bfbd428f1ebd5773427abc12d78f061445e9b8534d2e9cda831ef1671db6

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for vedro-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6e0b6a6d9cf35fe59ac2e1533870a49ec2a02ac68c79175a3b2f79f0d8c7e010
MD5 d654d3a3b7cc83e046d71b622cac91b0
BLAKE2b-256 976eb0897aa005d2013f076ef97f33b5405692f7f7be704796e807936ac8fa57

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