You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.