Automated API tests for Swagger Petstore
Swagger Petstore is a sample Petstore server.
- Technology Stack
- In a nutshell about the project
- Checks are implemented
- Tests launch:
- Integrations & Reporst:
- Patterns
Page Object
- Self-documenting code
- Parsing json files to access test data
- Remote launch using
Jenkins
- Integration with
Allure TestOps
- Integration with
Jira
- Notifications about test launch and test results via
Telegram
- - Successful/unsuccessful login and logout
- - Creating and deleting a user
- - Adding a new pet
- - Update and deleting the pet
Remote launch via Jenkins
- Clone the repository
- Install Poetry (
poetry install
) - Open the project in PyCharm, add Python Interpreter
- Create
env
files in the project folder according to the sample. - Run the tests in PyCharm or on the command line:
pytest . --alluredir allure-results/
If running locally, to check the Allure Report, enter on the command line:
allure serve .\allure-results
Thanks 🙏
💚 QA.GURU
💜 QA Sisters