dhuckins / vault-test-openapi

Home Page:https://dhuckins.github.io/vault-test-openapi/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vault-test-openapi

test Hashicorp vault openapi spec with Schemathesis

Running tests

set up a virtual environment if you don't already have one

$ python3.10 -m venv .venv
$ source ./.venv/bin/activate

install dependencies

(.venv) $ python -m pip install requirements.in  # or the frozen requirements.txt

run the test(s) using tox

(.venv) $ tox

A test report has been generated, start a dev server

(.venv) $ python -m http.server

View the report by going to localhost:8000/htmlcov/pytest in your browser

About

https://dhuckins.github.io/vault-test-openapi/

License:Apache License 2.0


Languages

Language:Python 100.0%