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.9.1.tar.gz (48.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.9.1-py3-none-any.whl (86.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vedro-1.9.1.tar.gz
  • Upload date:
  • Size: 48.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for vedro-1.9.1.tar.gz
Algorithm Hash digest
SHA256 a854458b00943141cdb5a6a1941cd7f24806e9760fc689d157c776f01d6386af
MD5 0f8853b9b5c1083b14d01e59a8be5045
BLAKE2b-256 302415f1ad5f6c38af360714c8cf7a96631be99cf1653c4d3e0db95821d1b2fb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vedro-1.9.1-py3-none-any.whl
  • Upload date:
  • Size: 86.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for vedro-1.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d456d831a510ef486830e60205c236f7d6b6d13bd7b2c1a13adb818522658566
MD5 1f5393193f1cdafc6e3cfbd85976928d
BLAKE2b-256 c41c3696a1734b194e917b6e3736dafa95116dc86996f108792734ca8b712305

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