Filter

org.scalatest.Filter
See theFilter companion class
object Filter

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

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Filter.type

Members list

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

Attributes

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.

Attributes

Returns

a default Filter