Jelajahi Sumber

backend: enable running integration tests with maven

Harry de Boer 5 tahun lalu
induk
melakukan
7cce3c75ad
1 mengubah file dengan 13 tambahan dan 0 penghapusan
  1. 13 0
      backend/pom.xml

+ 13 - 0
backend/pom.xml

@@ -27,6 +27,19 @@
                 <groupId>org.springframework.boot</groupId>
                 <artifactId>spring-boot-maven-plugin</artifactId>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-failsafe-plugin</artifactId>
+                <version>3.0.0-M5</version>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>integration-test</goal>
+                            <goal>verify</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>