Requirements
The assesment scenario requires requests
and returns
.
Install them via pipenv
or your own package-manager:
pipenv install
Running It
Activate your virtual environment, or enter a pipenv shell:
pipenv shell
Run it:
./run-scenario.py
Requirements
The tests require pytest
and requests-mock
.
Install them (and all other dev dependencies) via pipenv
or your own package-manager:
pipenv install --dev
Running the tests
Run it:
pytest
Requirements
The coverage report requires coverage
.
Install it (and all other dev dependencies) via pipenv
or your own package-manager:
pipenv install --dev
Build Report
Run this:
coverage run
coverage html
View Reports
Report is output in html to the docs/
directory. Just open index.html
in a browser.
Or check out the latest published version Here