Interface DynamicFilter

  • All Known Implementing Classes:
    MatchAllFilter, MetaTagsFilter, TestNamePatternFilter, TestNamePrefixFilter

    public interface DynamicFilter
    Filter to determine what tests you resolve dynamically besides required tests defined in a specification.

    This class should NOT be subclassed to create custom filters, because that breaks deserialization of specifications.

    • Method Detail

      • matches

        boolean matches​(@Nullable
                        java.lang.String testName,
                        ConsumableTestDefinition testDefinition)
        Parameters:
        testName - if null or empty string, only match testDefinition
        Returns:
        true if the testname or the definition match the filter