object Filter extends Serializable
- Source
- Filter.scala
- Alphabetic
- By Inheritance
- Filter
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
apply(tagsToInclude: Option[Set[String]] = None, tagsToExclude: Set[String] = Set(IgnoreTag), excludeNestedSuites: Boolean = false, dynaTags: DynaTags = DynaTags(Map.empty, Map.empty)): Filter
Factory method for a
Filter
initialized with the passedtagsToInclude
andtagsToExclude
.Factory method for a
Filter
initialized with the passedtagsToInclude
andtagsToExclude
.- tagsToInclude
an optional
Set
ofString
tag names to include (i.e., not filter out) when filtering tests- tagsToExclude
a
Set
ofString
tag names to exclude (i.e., filter out) when filtering tests- excludeNestedSuites
a
Boolean
to indicate whether to run nested suites- dynaTags
dynamic tags for the filter
- Exceptions thrown
IllegalArgumentException
iftagsToInclude
is defined, but contains an empty setNullArgumentException
if eithertagsToInclude
ortagsToExclude
are null
-
def
default: Filter
Factory method for a default
Filter
, for whichtagsToInclude is
None
,tagsToExclude
isSet("org.scalatest.Ignore")
, andexcludeNestedSuites
is false.Factory method for a default
Filter
, for whichtagsToInclude is
None
,tagsToExclude
isSet("org.scalatest.Ignore")
, andexcludeNestedSuites
is false.returns
a default
Filter
Deprecated Value Members
-
implicit
def
convertFilterToFunction2(filter: Filter): (Set[String], Map[String, Set[String]]) ⇒ List[(String, Boolean)]
- Annotations
-
@deprecated
- Deprecated
This implicit conversion was added in ScalaTest 3.0.0 because the inheritance relationship between Filter and Function2[Set[String], Map[String, Set[String]], List[(String, Boolean)]] was dropped. Please use the apply method that takes a suiteId instead, the one with this signature: def apply(testNames: Set[String], testTags: Map[String, Set[String]], suiteId: String): List[(String, Boolean)].