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 -c "import vedro; vedro.run()"

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.0.1.tar.gz (10.1 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.0.1-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vedro-1.0.1.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for vedro-1.0.1.tar.gz
Algorithm Hash digest
SHA256 e69dbdd8a5c25e5880050e8ce1f16c9fb3b9d1759b3577902e5d30f15af07344
MD5 20661ecd3bed7348ff90a164b7f7139e
BLAKE2b-256 f5a0e607678fcc9215ad4bcca1c40b60287adde6579bec949545180e8ec41907

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vedro-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 19.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for vedro-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 56cbfb91965e330bd890281747790d626683002ccff3b1200252367680f4e2dd
MD5 c0fa3eeae14a78ef3e2d1e18c6354090
BLAKE2b-256 7fad8decf384b7295d316ad01c3ce4fe1d9e16828f102196af25892c3aa3b778

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