Class SmartDirtiesPostDiscoveryFilter
java.lang.Object
com.github.seregamorph.testsmartcontext.SmartDirtiesPostDiscoveryFilter
- All Implemented Interfaces:
org.junit.platform.engine.Filter<org.junit.platform.engine.TestDescriptor>,org.junit.platform.launcher.PostDiscoveryFilter
public class SmartDirtiesPostDiscoveryFilter
extends Object
implements org.junit.platform.launcher.PostDiscoveryFilter
Auto-discovered JUnit platform
PostDiscoveryFilter which reorders and groups integration test classes
according to their configuration. Note: this class sorts only JUnit 4 and Kotest tests executed via
vintage-engine
or Kotest Engine.
For TestNG test classes - see SmartDirtiesSuiteListener, for
Jupiter test classes - see SmartDirtiesClassOrderer.
- Author:
- Sergey Chernov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.junit.platform.engine.FilterResultapply(org.junit.platform.engine.TestDescriptor testDescriptor) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.junit.platform.engine.Filter
toPredicate
-
Constructor Details
-
SmartDirtiesPostDiscoveryFilter
public SmartDirtiesPostDiscoveryFilter()
-
-
Method Details
-
apply
public org.junit.platform.engine.FilterResult apply(org.junit.platform.engine.TestDescriptor testDescriptor) - Specified by:
applyin interfaceorg.junit.platform.engine.Filter<org.junit.platform.engine.TestDescriptor>
-