This is a reference implementation and example scripts for the openapiaryformat. Take a look at the description at https://github.com/BeeINT/openapiaryformat-reference
Take a look at the example_simple.py
script on how to get a quick and basic introduction.
example_advanced.py
will cover the more indepth information.
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.