Skip to main content

Pragmatic Testing Framework

Project description

Vedro

Codecov PyPI PyPI - Downloads Python Version

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.10.0.tar.gz (54.4 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.10.0-py3-none-any.whl (96.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for vedro-1.10.0.tar.gz
Algorithm Hash digest
SHA256 554e3efe1a511af711195787b3ef475cafe15255f0fa68e45f1261dc1dad21a3
MD5 2bd12d6cbd9ea6235ce868e86a31a6ae
BLAKE2b-256 97ae94afcf424df67466c008457dba8ce5bc82dcd345a226cb674f2b1e2458dc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vedro-1.10.0-py3-none-any.whl
  • Upload date:
  • Size: 96.2 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.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 50c583085541920a16851bc099fd0414e5c9e073bbfde6cf713b9a69993e8e78
MD5 9a4eea419caa4782584d8e526d0ed3b1
BLAKE2b-256 43994aa62a41a0d40d94f1a2c618169c1c126ae79ee5bc62ad88ffac62c8d116

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