Suite class

A test suite.

A test suite is a set of tests that are intended to be run together and that share default configuration.

Constructors

Suite(Group group, SuitePlatform platform, {bool ignoreTimeouts = false, String? path})
Creates a new suite containing group.

Properties

group → Group
The top-level group for this test suite.
final
hashCode → int
The hash code for this object.
no setterinherited
ignoreTimeouts → bool
Whether or not to ignore test timeouts.
final
isLoadSuite → bool
no setter
metadata → Metadata
The metadata associated with this test suite.
no setter
path → String?
The path to the Dart test suite, or null if that path is unknown.
final
platform → SuitePlatform
The platform on which the suite is running.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

filter(bool callback(Test)) → Suite
Returns a new suite with all tests matching test removed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited