From 03cff1a308aacad32047f0879c81ccdd3e930d2c Mon Sep 17 00:00:00 2001 From: Adam Klinkosz Date: Thu, 15 Apr 2021 18:38:28 +0200 Subject: [PATCH] Tests execution with maven --- ASSIGNMENT.md | 6 ++++++ pom.xml | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/ASSIGNMENT.md b/ASSIGNMENT.md index d507e6f88..248612ec2 100644 --- a/ASSIGNMENT.md +++ b/ASSIGNMENT.md @@ -1,5 +1,11 @@ # QA Assignment +## Running tests +You can run the Cucumber features from your IDE or via the command line: +```shell +./mvnw -P itest integration-test +``` + ## Finding owners The scenarios for this feature are incomplete or even naive. Please cover more cases in more reliable way. diff --git a/pom.xml b/pom.xml index 4cca338b3..8707d3248 100644 --- a/pom.xml +++ b/pom.xml @@ -411,6 +411,41 @@ + + itest + + + + org.apache.maven.plugins + maven-failsafe-plugin + 2.22.2 + + test/integration + + **/CucumberRunner.java + + + **/*Tests.java + + + + + integration-test + + integration-test + + + + verify + + verify + + + + + + +