Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

agridyaev/otus-api-testing

Repository files navigation

API testing lesson

The repository contains testing API lesson examples for "Python QA engineer" course.

Requirements

jsonplaceholder
httpbin.org

Running tests

For test module 02_api_testing/test_02_formats.py - httpbin.org API is used.
To run these tests you have to pass --url=https://httpbin.org/ parameter, e. g.:

pytest 02_api_testing/test_02_formats.py --url https://httpbin.org/

As alternative you can run httpbin.org docker container:

docker run -p 80:80 kennethreitz/httpbin
pytest 02_api_testing/test_02_formats.py --url http://localhost

For the rests of the tests - jsonplaceholder API is used.

About

No description or website provided.

Topics

Resources

Readme

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages