Skip to content
 
 

Repository files navigation

tests

Python api tests

This is a tutorial project that shows how to implement api tests in Python

The project uses:

  1. Python
  2. Requests
  3. Allure for reports
  4. CI (GitHub actions)

Testing application (write with Flask):

git: https://github.com/berpress/flask-restful-api

url: https://stores-tests-api.herokuapp.com

How to start

Use python 3.8 + 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

Run all tests

pytest

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages