GroupOf<ExpectedType> class

Create a Group with a Default Context of an ExpectedType

Groups are used to organize tests, block common setup and teardown stages, and help with readability.

Inheritance

Constructors

GroupOf(String _title, List<Contextual<Context<ExpectedType>>> children, {FutureOr<void> setup(Context<ExpectedType> test)?, FutureOr<void> teardown(Context<ExpectedType> test)?, TestOptions? options})
GroupOf.skip(String _title, List<Contextual<Context<ExpectedType>>> children, {FutureOr<void> setup(Context<ExpectedType> test)?, FutureOr<void> teardown(Context<ExpectedType> test)?, TestOptions? options})
Skipped. This will not run any of the stages or children within this group.

Properties

children List<Contextual<Context<ExpectedType>>>
finalinherited
contextualType String
no setterinherited
failures int
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
neutrals int
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setup FutureOr<void> Function(Context<ExpectedType> test)?
finalinherited
skip bool
finalinherited
successes int
no setterinherited
teardown FutureOr<void> Function(Context<ExpectedType> test)?
finalinherited
testFailCount int
getter/setter pairinherited
testNeutralCount int
getter/setter pairinherited
testSuccessCount int
getter/setter pairinherited
total int
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
report(FilterSettings filterSettings) → void
inherited
toString() String
A string representation of this object.
inherited

Operators

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