This is test task for Affise
Functional testing of endpoints offers
and pixel
.
Only 3 cases are covered:
- positive scenario
- wrong API key
- wrong HTTP method
Assertion level - response status code.
- different payload data cases
- response data validation
Follow steps below to run locally.
You need tox
to build virtual environment:
sudo pip install tox
Simply run tox
command from root project folder. This will prepare virtual environment,
launch tests and generate XML report.