rigor
Project description
Functional API Testing Framework
Built with Python 3.6
Multiple Purposes: Document API, Test API, Smoke/Functional/TDD, etc.
Asynchronous (ayncio) collection (aiofiles) and execution (aiohttp)
Cucumber-inspired Given/When/Then approach to test cases.
Different from Cucumber because it is imperative. Tied explicitly to the API not the user stories.
Declarative syntax using YAML test case descriptions
Uses Jmespath for data extraction and less-brittle validation
status expects a 2XX by default, but can be overridden in step request.
rigor descends directories using file prefix and extensions (default yml and yaml).
tags can be included (e.g. smoke) or excluded (e.g. broken).
Asynchronous mode can be disabled by specifying concurrency=1
Namespace __uuid__ for uniquely naming things in case of concurrency.
Rendering using [mako: http://www.makotemplates.org/]
Command-line with [click: http://click.pocoo.org/]
Setup
`bash $ pip install rigor $ cd /path/to/directory/containing/tree/of/rigor/yamls/ $ rigor `
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for rigor-0.0.12-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2594b3876956ae758941b7d4a47abeab99040d43a0e414f2f62e8098542e30a |
|
MD5 | 9f48c738e1c3712516f80908643a42e8 |
|
BLAKE2b-256 | a60819d31cae65a0d105177140cffcb41885e3da3e13f57d8e4898d9b9dcba66 |