Movatterモバイル変換


[0]ホーム

URL:


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

Generic API Automation framework using Python Pytest

NotificationsYou must be signed in to change notification settings

JaydipManiya/API-Testing-Python-Pytest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • This is generic API Automation framework using Python Pytest.

Setup:

  • Download and install Python3 fromhere (Ignore the step if you already have python installed)
  • Clone this repo, navigate to API-Testing-Python-Pytest folder.
  • Execute requirements.txt file to install all the dependent python libraries using following command and make it pass without any error: pip install -r requirements.txt

Running the tests:

  • Run below command to execute all the tests. This will generate log file (with name: log-<YYMMDD_HHMMSS>.log) at current location.pytest -vs Test\test_requests.py
  • Run below command to execute and generate pytest html report:pytest -vs --capture sys Test\test_requests.py --html=report.html

About

Generic API Automation framework using Python Pytest

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp