Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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 `

HTML Reporting

Rigor returns a response that is cucumber formatted, and supports a

Project details


Release history Release notifications

History Node

0.5.1

History Node

0.5.0

History Node

0.4.4

History Node

0.4.3

History Node

0.4.2

History Node

0.4.1

History Node

0.4.0

History Node

0.3.7

History Node

0.3.6

History Node

0.3.5

History Node

0.3.4

History Node

0.3.3

History Node

0.3.1

History Node

0.3.0

History Node

0.2.2

History Node

0.2.1

History Node

0.2.0

This version
History Node

0.1.9

History Node

0.1.8

History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

History Node

0.0.20

History Node

0.0.19

History Node

0.0.18

History Node

0.0.17

History Node

0.0.15

History Node

0.0.14

History Node

0.0.13

History Node

0.0.12

History Node

0.0.11

History Node

0.0.10

History Node

0.0.9

History Node

0.0.8

History Node

0.0.7

History Node

0.0.6

History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
rigor-0.1.9-py2.py3-none-any.whl (9.0 MB) Copy SHA256 hash SHA256 Wheel py2.py3 Sep 13, 2017
rigor-0.1.9.tar.gz (9.0 MB) Copy SHA256 hash SHA256 Source None Sep 13, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page