Skip to main content

BDD Framework (without magic)

Project description

Vedro

Codecov PyPI PyPI - Downloads Python Version

(!) Work in progress, 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.4.0.tar.gz (39.7 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.4.0-py3-none-any.whl (75.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vedro-1.4.0.tar.gz
  • Upload date:
  • Size: 39.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for vedro-1.4.0.tar.gz
Algorithm Hash digest
SHA256 286918c86572b36c684367095c6531d8bc6a537e4e2d5014f53f3dd5dfe4ae7d
MD5 996537f1f3e2d38b1ed95d01e02bda64
BLAKE2b-256 0c6fbeb82e93598c9c56ccc3f01ed1043d6a357ee69c3e89b557f41d1f75602e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vedro-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 75.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for vedro-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d39ffd3fad7a6819d526a2d98858ca40cf61ed9263de44a6e44dd8f6f0e68ff6
MD5 9bd08ab33740d50635e4b75054db6eca
BLAKE2b-256 b219bd4dc7531c1516a171e50ebf2118a4451e5b46549ebb94d590d80e3c53b2

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