Skip to main content

No project description provided

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
from aiohttp import ClientSession
import vedro

class Scenario(vedro.Scenario):
    subject = "decode base64 encoded string"

    def given(self):
        self.encoded = "YmFuYW5h"

    async def when(self):
        async with ClientSession() as session:
            self.response = await session.get(f"https://httpbin.org/base64/{self.encoded}")

    async def then(self):
        assert (await self.response.text()) == "banana"
$ python3 -m vedro .

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.3.6.tar.gz (39.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.3.6-py3-none-any.whl (74.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for vedro-1.3.6.tar.gz
Algorithm Hash digest
SHA256 52952421f6a4d928b42334eb75d5c6c5ccbeb6a16a338773d6f2e13f5f3635e6
MD5 00b9bcb4cbbd341895979d02bc1f0e1f
BLAKE2b-256 55cebdd53f12e143add4674a12b1ab84dd3ea1874d95105da57b05b1de401f03

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for vedro-1.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ac3c7fdb530504a1ce75691bae952b486fcddd12c81e0fc3fde18c421e93e16b
MD5 6acc235dd22fb5e02ac469ca7f7de33a
BLAKE2b-256 083e7b63ea22078c8c98d531ed62f333415187dc036659caa9162acc0ca5fb7e

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