https://github.com/vedro-universe/vedro
Pragmatic Testing Framework
https://github.com/vedro-universe/vedro
e2e-testing python testing testing-tools vedro
Last synced: 6 months ago
JSON representation
Pragmatic Testing Framework
- Host: GitHub
- URL: https://github.com/vedro-universe/vedro
- Owner: vedro-universe
- License: apache-2.0
- Created: 2015-10-19T13:16:24.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-03-13T19:17:13.000Z (about 1 year ago)
- Last Synced: 2024-04-28T08:02:04.157Z (about 1 year ago)
- Topics: e2e-testing, python, testing, testing-tools, vedro
- Language: Python
- Homepage: https://vedro.io
- Size: 630 KB
- Stars: 30
- Watchers: 3
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-python-testing - vedro - Pragmatic testing framework for Python (Testing Frameworks)
README
# Vedro
[](https://codecov.io/gh/vedro-universe/vedro)
[](https://pypi.python.org/pypi/vedro/)
[](https://pypi.python.org/pypi/vedro/)
[](https://pypi.python.org/pypi/vedro/)## Installation
```shell
$ pip3 install vedro
```## Usage
```python
# ./scenarios/decode_base64_encoded_string.py
import base64
import vedroclass 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"
``````shell
$ vedro run
```## Documentation
🚀 [vedro.io](https://vedro.io/docs/quick-start)