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.7.0.tar.gz (34.3 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.7.0-py3-none-any.whl (62.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for vedro-1.7.0.tar.gz
Algorithm Hash digest
SHA256 ec957a9dcf2ba565d095cfe09161af6875eed3274eff77c0fec62f3a79806e7f
MD5 a9adcc9476ab537377bde3a9beca84b4
BLAKE2b-256 3d721fc70cb5374ba9c3f45e28338f254b760d868b7f4a8c8ca7f28c0408c28e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for vedro-1.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ca159aa9e45fb0949037d9a0b8a56f94f726b9e35dba962ad48313419b95cfa
MD5 4e0650a15d160f146a1dc15013187dc5
BLAKE2b-256 3b62fe1a02157a369a2e343560807eb561d0481cbc5ad0c6e5f7233ade25b144

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