Closed oruborus closed 11 months ago
A TestConfigFilter should take any amount of TestConfig objects and remove those from the list that match certain criteria.
TestConfigFilter
TestConfig
Needed implementations are:
FileNameSuffixFilter
FileNameMatchesRegExpFilter
FileNameDoesNotMatchRegExpFilter
FlagDoesNotMatchFilter
Frontmatter
CombinationFilter
A
TestConfigFilter
should take any amount ofTestConfig
objects and remove those from the list that match certain criteria.Needed implementations are:
FileNameSuffixFilter
- excludes allTestConfig
objects with a matching file name endingFileNameMatchesRegExpFilter
- excludes allTestConfig
objects with a matching file nameFileNameDoesNotMatchRegExpFilter
- excludes allTestConfig
objects with a not matching file nameFlagDoesNotMatchFilter
- excludes allTestConfig
objects that have not the required flag in theirFrontmatter
CombinationFilter
- excludes allTestConfig
objects that are matched by any of the includedTestConfigFilter
objects