BAEL-5242: Add surefire config for TestNG (#11471)

* BAEL-5242: Add surefire config for TestNG

* BAEL-5242: Configure surefire to run unit and integration tests
This commit is contained in:
kwoyke
2021-11-23 06:26:31 +01:00
committed by GitHub
parent ffacd9b9ae
commit 1ee2327ab3
3 changed files with 60 additions and 4 deletions
@@ -0,0 +1,10 @@
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
<suite name="int">
<test name="integration tests">
<classes>
<class name="com.baeldung.GroupIntegrationTest" />
<class name="com.baeldung.MultiThreadedIntegrationTest" />
<class name="com.baeldung.TimeOutIntegrationTest" />
</classes>
</test>
</suite>
@@ -0,0 +1,9 @@
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
<suite name="unit">
<test name="unit tests">
<classes>
<class name="com.baeldung.DependentLongRunningUnitTest" />
<class name="com.baeldung.PriorityLongRunningUnitTest" />
</classes>
</test>
</suite>