Companion object to Filter
offering a default Filter
and a factory method for Filter
s.
- Companion:
- class
Value members
Concrete methods
Factory method for a Filter
initialized with the passed tagsToInclude
and tagsToExclude
.
Factory method for a Filter
initialized with the passed tagsToInclude
and tagsToExclude
.
- Value parameters:
- dynaTags
dynamic tags for the filter
- excludeNestedSuites
a
Boolean
to indicate whether to run nested suites- tagsToExclude
a
Set
ofString
tag names to exclude (i.e., filter out) when filtering tests- tagsToInclude
an optional
Set
ofString
tag names to include (i.e., not filter out) when filtering tests
- Throws:
- IllegalArgumentException
if
tagsToInclude
is defined, but contains an empty set- NullArgumentException
if either
tagsToInclude
ortagsToExclude
are null
Factory method for a default Filter
, for which tagsToInclude is
None
,
tagsToExclude
is Set("org.scalatest.Ignore")
, and excludeNestedSuites
is false.
Factory method for a default Filter
, for which tagsToInclude is
None
,
tagsToExclude
is Set("org.scalatest.Ignore")
, and excludeNestedSuites
is false.
- Returns:
a default
Filter