Simple automated API test framework
ApiPy was created for api testing with Python pytest framework which has also requests, assertpy and pytest-html-reporter libraries. With this framework you can create api tests to call http GET, POST, UPDATE and DELETE methods.
- requests: for calling http methods
- asserpy: for making assertions
- pytest-html-reporter: for creating html report
Pipenv is used to create a virtualenv. So just clone this project, go to the directory of the project and run below commands.
cd apiPy
pipenv shell
pytest --html-report=./report
GitHub