#BAEL-7157: add main test suite

This commit is contained in:
hmdrz 2023-11-09 11:22:14 +03:30
parent f33372e091
commit b6d28c4446
1 changed files with 14 additions and 0 deletions

View File

@ -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
}