Skip to content
Snippets Groups Projects
Verified Commit e9adff90 authored by Georgi Michev's avatar Georgi Michev
Browse files

Update the instructions for running the tests


Clarification for running the tests was requested.

Signed-off-by: default avatarGeorgi Michev <georgi.michev@vereign.com>
parent e2f3c093
No related branches found
No related tags found
No related merge requests found
Pipeline #72302 passed
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# Introduction # Introduction
This repository holds the test automation framework based on Java and used for testing TSA This repository holds the test automation framework based on Java and used for testing TSA. Some of the tests require the environment on which they will be run against to be deployed with database and this database to have specific structure mentioned below on [MongoDB](###mongodb)
# Setup # Setup
...@@ -23,10 +23,15 @@ This repository holds the test automation framework based on Java and used for t ...@@ -23,10 +23,15 @@ This repository holds the test automation framework based on Java and used for t
### Running ### 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``` Running tests using Itellij IDEA:
- meet all the requirements in the [Prerequisites](###prerequisites)
- create new Gradle [Run Configuraiton](https://www.jetbrains.com/help/idea/run-debug-configuration.html) useing the run options from the example below
```gradle
regressionSuite -PbaseUrl={BASE_URL} -Dcucumber.tags="@{TAG}, 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: _{BASE_URL} - should be replaced with the path where the services are deployed:
example: http://localhost_ example: http://localhost_
_{TAG} - Enter which tests to be execute. Valid options are - 'tsa' 'cache', 'infohub', 'policy', 'signer', 'task', 'negative'._
## Specifications for different database implementations ## Specifications for different database implementations
### MongoDB ### MongoDB
...@@ -47,4 +52,4 @@ infohub and tasks services. ...@@ -47,4 +52,4 @@ infohub and tasks services.
To simplify manual tests execution we have a postman collection with the list of supported endpoints, you can find [here](postman/TSA.postman_collection.json) To simplify manual tests execution we have a postman collection with the list of supported endpoints, you can find [here](postman/TSA.postman_collection.json)
## License ## License
<hr/> <hr/>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment