Api tests in Python
The project uses:
- Python
- Requests
- Allure for reports
- CI (GitHub actions)
Testing application (write with Flask):
git: https://github.com/berpress/flask-restful-api
url: https://stores-tests-api.herokuapp.com
Swagger: https://app.swaggerhub.com/apis-docs/berpress/flask-rest-api/1.0.0
Use python 3.9 + Create and activate virtual environments
python3 -m venv env
source env/bin/activate
Run in terminal
pip install -r requirements.txt
or install poetry https://python-poetry.org/, then
poetry install
and add pre-commit
pre-commit install
pytest