Skip to content

Latest commit

 

History

History
63 lines (33 loc) · 1.9 KB

File metadata and controls

63 lines (33 loc) · 1.9 KB

openapiaryformat-python

Travis Status readthedocs coverall

This is a reference implementation and example scripts for the openapiaryformat. Take a look at the description at https://github.com/BeeINT/openapiaryformat-reference

Example Simple

Take a look at the example_simple.py script on how to get a quick and basic introduction.

Example Advanced

example_advanced.py will cover the more indepth information.

Tests

The tests infrastructure uses a combination of lettuce, tox, coveralls and Travis CI.

For your personal tests, you can execute tox directly executing specific build targets. This has to be done in the tests directory.

Install the tests requirements with pip install -r requirements-test.txt

Now run the tests. The For example: tox -v -e py27 for the lettuce tests or tox -e pep8 for the pep8 checks.

For coverage checks, you can get your report this way:

coverage run `which lettuce`
coverage report

Take a look at the tox.ini or .travis.yml for the current configurations of executed tests for each git push.