diff --git a/.gitignore b/.gitignore index 2d40710b6499cf6e3b567fd2c009f426f6597f0a..2ccbd780b2355b4c7683909abf310eb7c80cd2bb 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ bin local.properties logs QA.log +out # Java # Compiled class file diff --git a/README.md b/README.md index 4765231c63b286da2fb263d5c787d25fba1233e4..c5e059789ad428e61cf7d6255bb433a236e20d4c 100644 --- a/README.md +++ b/README.md @@ -3,19 +3,19 @@ 1. [Introduction](#introduction) 1. [Setup](#setup) 1. [Description](#description) -1. [License](#license) + # Introduction -This repository holds the test automation framework based on Java and used for testing of [Dashboard]() and [RESTful API](). +This repository holds the test automation framework based on Java and used for testing TSA # Setup ### Prerequisites -- Install Java > 8 - https://www.java.com/en/download/help/download_options.xml +- Install Java version > 17 -- Install gradle - https://gradle.org/install/ +- Install gradle version > 7.4.1 - https://gradle.org/install/ - Favorite IDE (I recommend IntelliJ IDEA - https://www.jetbrains.com/idea/) @@ -23,15 +23,4 @@ This repository holds the test automation framework based on Java and used for t ### Running -- Run configuration for local example: - ```-Ptags=@test,~@wip``` - ```-Penv="local"``` -- Run the tests on a remote env: ```gradle cucumber -Penv=local -Ptags=@rest,~@wip``` - -# Contributions - -Big up for rosen.georgiev@vereign.com - -## License - -This project is licensed under the AGPL License - see the [LICENSE](/code/Documentation/wikis/LICENSE) file for details. \ No newline at end of file +- Run the tests on a remote env: ```gradle regressionSuite -PbaseUrl=https://TestEnv -Dcucumber.tags="@rest, ~@wip" -Dcourgette.threads=10 -Dcourgette.runLevel=Scenario -Dcourgette.rerunFailedScenarios=false -Dcourgette.rerunAttempts=1``` \ No newline at end of file diff --git a/build.gradle b/build.gradle index 41beeeb63988debfc71d25026adc3ff4a180bcad..9b5d8139788f4d274369592849a677bffaf39bf7 100644 --- a/build.gradle +++ b/build.gradle @@ -83,8 +83,8 @@ dependencies { implementation(group: "com.google.code.gson", name: "gson", version: "+") implementation(group: "io.rest-assured", name: "rest-assured", version: "4.+") implementation(group: "com.jayway.jsonpath", name: "json-path", version: "+") - implementation group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.5' - implementation group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.5' + implementation group: 'org.apache.logging.log4j', name: 'log4j-api', version: '+' + implementation group: 'org.apache.logging.log4j', name: 'log4j-core', version: '+' implementation group: 'org.bouncycastle', name: 'bcprov-jdk15on', version: '1.60' implementation 'org.bouncycastle:bcpkix-jdk15on:1.51' implementation group: 'net.sourceforge.tess4j', name: 'tess4j', version: '4.4.1' diff --git a/src/test/resources/features/batch/api/getStatuses/POST.feature b/src/test/resources/features/batch/api/getStatuses/POST.feature index beff4258066ed6153cabd7c0870ea0aaae4b9090..e1fc69d61b946c810b67b1d81d0687f128a6870e 100644 --- a/src/test/resources/features/batch/api/getStatuses/POST.feature +++ b/src/test/resources/features/batch/api/getStatuses/POST.feature @@ -23,7 +23,7 @@ Feature: API - getStatuses POST Background: Given we are testing the VIAM Api - @getStatuses @test + @getStatuses Scenario: Send a batch request and then fetch it with getStatuses - Positive #Send Batch Given I load the REST request {Batch.json} with profile {successful_batch}