Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 984 Bytes

File metadata and controls

17 lines (14 loc) · 984 Bytes

API Automation using Python Pytest

  • API testing for signup, renew, validate, user, quote and weather, using Python Pytest.

Setup:

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

Running the tests:

  • Navigate to assignment_API_test folder
  • Run below command to execute all the tests.(make sure you install "pytest-html" already") This will generate log file(with name: <YY-MM-DD_HH-MM-SS>.log) in logs folder: pytest testcases/
  • The report will be generated in report folder.

Testcases and bug report:

  • The Testcases for APIs file contains all the designed testcases.
  • The bug_report file contains all the found bugs.