Packages

object Filter extends Serializable

Source
Filter.scala
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Filter
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. 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 passed tagsToInclude and tagsToExclude.

    Factory method for a Filter initialized with the passed tagsToInclude and tagsToExclude.

    tagsToInclude

    an optional Set of String tag names to include (i.e., not filter out) when filtering tests

    tagsToExclude

    a Set of String 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 if tagsToInclude is defined, but contains an empty set

    NullArgumentException if either tagsToInclude or tagsToExclude are null

  2. def default: Filter

    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

Deprecated Value Members

  1. 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)].