TestGroup class
TestGroup is synonymous to group function. You can wrap multiple Tests in a TestGroup.
Example:
TestGroup('BMI', [
HeightTest(),
]).execute();
Constructors
Properties
- description → String
-
Built from name and nameSuffix.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Used in building description.
final
- nameSuffix → String
-
Used in building description.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
tests
→ List<
Test< Object?, Object?> > -
List of tests to be run with in this group.
final
Methods
-
dispose(
) → dynamic - Runs once for every TestGroup.
-
disposeForEveryTest(
) → dynamic - Runs for every Test.
-
execute(
) → void -
initialize(
) → dynamic - Runs once for every TestGroup.
-
initializeForEveryTest(
) → dynamic - Runs for every Test.
-
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