Testing framework
Introduction
This repository holds the test automation framework based on Java and used for testing TSA
Setup
Prerequisites
-
Install Java version > 17
-
Install gradle version > 7.4.1 - https://gradle.org/install/
-
Favorite IDE (I recommend IntelliJ IDEA - https://www.jetbrains.com/idea/)
-
If using IntelliJ - Install Cucumber for Java & Gherkin addons
Running
- Run the tests on a remote env:
gradle regressionSuite -PbaseUrl={BASE_URL} -Dcucumber.tags="@tsa, not @wip" -Dcourgette.threads=1 -Dcourgette.runLevel=Scenario -Dcourgette.rerunFailedScenarios=false -Dcourgette.rerunAttempts=1
{BASE_URL} - should be replaced with the path where the services are deployed:
example: http://localhost
Manual execution
To simplify manual tests execution we have a postman collection with the list of supported endpoints, you can find here