Filter

object Filter

Companion object to Filter offering a default Filter and a factory method for Filters.

Companion:
class
class Object
trait Matchable
class Any
Filter.type

Value members

Concrete methods

def apply(tagsToInclude: Option[Set[String]], tagsToExclude: Set[String], excludeNestedSuites: Boolean, dynaTags: DynaTags): 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.

Value parameters:
dynaTags

dynamic tags for the filter

excludeNestedSuites

a Boolean to indicate whether to run nested suites

tagsToExclude

a Set of String tag names to exclude (i.e., filter out) when filtering tests

tagsToInclude

an optional Set of String 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 or tagsToExclude 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