For suites I am using below template:
@RunWith(JUnitPlatform.class)
@SelectPackages("com.services.configuration")
@ExcludeTags({IntegrationTags.JPA, IntegrationTags.REST})
public class UnitTestSuite {
}
@RunWith
is a JUnit 4 dependency, which comes from
compile "org.junit.platform:junit-platform-runner:1.0.2"
Is it possible to have JUnit 5 suites without the JUnit 4 dependency? So that I could remove JUnit 4 from my dependencies?
Can't it be replaced with a proper @ExtendsWith
extension? I need this only for suites.