Fix 'not running Junit5 tests'-issue
Change-Id: Iee67a4af7262e554a86252b411264f55ff1baa88
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3109
diff --git a/asdctool/pom.xml b/asdctool/pom.xml
index 76cd7b4..37b866d 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 e2bb0bc..bce4d69 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 6b04d6f..acb04c2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -485,6 +485,13 @@
<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>