Skip to content

QAProvider/python-api-tests-example-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

How to write a first API test with Python + Pytest + Allure

library is a package that sends API request and has all the stuff for Allure report

test_github.py is a file with 2 tests: test_success, test_failed

How to use

Being in the folder containing tests folder run pytests:

$ pytest --alluredir=allure_results

Serve results with Allure:

$ allure server allure_results/

Full description

https://qaprovider.com/discussion/show/api-testing-with-python-pytest-allure/79

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages