Fix 'not running Junit5 tests'-issue 61/109061/2
authorvasraz <vasyl.razinkov@est.tech>
Thu, 11 Jun 2020 11:57:25 +0000 (12:57 +0100)
committerOfir Sonsino <ofir.sonsino@intl.att.com>
Mon, 15 Jun 2020 07:52:35 +0000 (07:52 +0000)
Change-Id: Iee67a4af7262e554a86252b411264f55ff1baa88
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3109

asdctool/pom.xml
openecomp-be/pom.xml
pom.xml

index 76cd7b4..37b866d 100644 (file)
       <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>
index e2bb0bc..bce4d69 100644 (file)
       <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 (file)
--- 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>