Class IncludeMethodFilter

java.lang.Object
org.junit.platform.launcher.AbstractMethodFilter
org.junit.platform.launcher.IncludeMethodFilter
All Implemented Interfaces:
Filter<TestDescriptor>, MethodFilter, PostDiscoveryFilter

class IncludeMethodFilter extends AbstractMethodFilter
MethodFilter that matches fully qualified method names against patterns in the form of regular expressions.

If the fully qualified name of a method matches against at least one pattern, the method will be included.

Since:
1.12
  • Constructor Details

    • IncludeMethodFilter

      IncludeMethodFilter(String... patterns)
  • Method Details