From c43f9764b2132ce54a491c1daeeafe6aa4851ef5 Mon Sep 17 00:00:00 2001 From: Christof Rabensteiner Date: Fri, 28 Jun 2019 10:29:50 +0200 Subject: Separate Test Suite into Unit- And Integration Tests Per default, integration tests are excluded from build. They can be included with the `-P integration-test` argument. - Pom: Add maven profile for integration tests. - Rename integration tests (add `IT` prefix). - Move Resources into IT* folders. - Add MsgClientTest to test suite and add assertions to each test case. --- pom.xml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'pom.xml') diff --git a/pom.xml b/pom.xml index 37063b9..6b8e060 100644 --- a/pom.xml +++ b/pom.xml @@ -43,6 +43,7 @@ 0.8.3 2.0.7-snapshot 1.0.7 + 2.22.1 http://reference.e-government.gv.at/namespace/zustellung/mzs/app2mzs# http://reference.e-government.gv.at/namespace/zustellung/mzs/persondata# @@ -59,6 +60,23 @@ at.gv.zustellung.tnvz.xsd + + + dev + true + + **/IT*Test.java + + + + integration-test + + + + + + + @@ -223,6 +241,18 @@ + + + org.apache.maven.plugins + maven-surefire-plugin + ${maven-surefire-plugin.version} + + + ${exclude-test-pattern} + + + + -- cgit v1.2.3