#BAEL-7157: add main test suite
This commit is contained in:
parent
f33372e091
commit
b6d28c4446
|
@ -0,0 +1,14 @@
|
|||
package com.baeldung.testsuite.suites;
|
||||
|
||||
import com.baeldung.testsuite.ClassOneUnitTest;
|
||||
import org.junit.platform.suite.api.SelectMethod;
|
||||
import org.junit.platform.suite.api.Suite;
|
||||
import org.junit.platform.suite.api.SuiteDisplayName;
|
||||
|
||||
@Suite
|
||||
@SuiteDisplayName("My Test Suite")
|
||||
@SelectMethod(type = ClassOneUnitTest.class, name = "whenFalse_thenFalse")
|
||||
@SelectMethod("com.baeldung.testsuite.subpackage.ClassTwoUnitTest#whenFalse_thenFalse")
|
||||
public class JUnitSelectMethodsSuite {
|
||||
// runs ClassOneUnitTest and ClassTwoUnitTest
|
||||
}
|
Loading…
Reference in New Issue