UnitTest<SUT> class
Used to hold and test a list of UnitFeature.
Constructors
-
UnitTest({required String description, required List<
UnitFeature> features, void setUpMocks(UnitMocks mocks)?, SUT systemUnderTest(UnitMocks mocks)?, TestGroupFunctionNullable<SUT> ? setUpEach, TestGroupFunctionNullable<SUT> ? tearDownEach, TestGroupFunctionNullable<SUT> ? setUpOnce, TestGroupFunctionNullable<SUT> ? tearDownOnce})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
test(
) → void -
Runs all
UnitTest._features
test methods. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited