Skip to content

agridyaev/otus-api-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages