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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for vedro-1.9.0.tar.gz
Algorithm Hash digest
SHA256 59ac23daa52a77f26f644a266ff1778abb809412a861019406be0554dbe558e5
MD5 3a3eca978057dbb5e10a950584bc5611
BLAKE2b-256 584bcade0dd7009d66be912d34c300a83a2b8641fb3819b94f46d61608caacc6

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for vedro-1.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 16d5cc56111c3b00bdbeff1f9cc38de0768dac2bb7724e7c48dba26ce1c7e6bd
MD5 0fce38a0a8cfc22a5c31eda9c97b52e9
BLAKE2b-256 7498c76a8e25386e070a9089100a07d8a09be2e1c95a7b5a01d7cb7c2aee3b90

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