aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvasraz <vasyl.razinkov@est.tech>2020-06-11 12:57:25 +0100
committerOfir Sonsino <ofir.sonsino@intl.att.com>2020-06-15 07:52:35 +0000
commite3e2db1d777b89e8292b88f677bcc7d81e6bf2c0 (patch)
tree7208409decd95725f4fdf42bdc1f9666a9c74ef1
parentca685bb55cd192ab58c62663a31f5292697a4182 (diff)
Fix 'not running Junit5 tests'-issue
Change-Id: Iee67a4af7262e554a86252b411264f55ff1baa88 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3109
-rw-r--r--asdctool/pom.xml6
-rw-r--r--openecomp-be/pom.xml6
-rw-r--r--pom.xml7
3 files changed, 19 insertions, 0 deletions
diff --git a/asdctool/pom.xml b/asdctool/pom.xml
index 76cd7b4840..37b866db97 100644
--- a/asdctool/pom.xml
+++ b/asdctool/pom.xml
@@ -502,6 +502,12 @@
<version>${testng.version}</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>com.github.testng-team</groupId>
+ <artifactId>testng-junit5</artifactId>
+ <version>0.0.1</version>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>org.mockito</groupId>
diff --git a/openecomp-be/pom.xml b/openecomp-be/pom.xml
index e2bb0bc818..bce4d696f2 100644
--- a/openecomp-be/pom.xml
+++ b/openecomp-be/pom.xml
@@ -47,6 +47,12 @@
<version>${junitJupiter.version}</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>com.github.testng-team</groupId>
+ <artifactId>testng-junit5</artifactId>
+ <version>0.0.1</version>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>com.google.code.bean-matchers</groupId>
diff --git a/pom.xml b/pom.xml
index 6b04d6f89e..acb04c2429 100644
--- a/pom.xml
+++ b/pom.xml
@@ -485,6 +485,13 @@ Modifications copyright (c) 2018-2019 Nokia
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven.surefire</groupId>
+ <artifactId>surefire-junit-platform</artifactId>
+ <version>${maven-surefire-plugin.version}</version>
+ </dependency>
+ </dependencies>
<configuration>
<printSummary>false</printSummary>
<systemPropertyVariables>