UnitFeature<SUT> class

Used to specify and test a list of UnitScenario.

Constructors

UnitFeature({required String description, required List<UnitScenario<SUT, UnitExample>> scenarios, void setUpMocks(UnitMocks mocks)?, SUT systemUnderTest(UnitMocks mocks)?, TestGroupFunctionNullable<SUT>? setUpEach, TestGroupFunctionNullable<SUT>? tearDownEach, TestGroupFunctionNullable<SUT>? setUpOnce, TestGroupFunctionNullable<SUT>? tearDownOnce})
const

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({String? testDescription, int? nrFeature, UnitMocks? mocks, SUT? systemUnderTest}) → void
Runs this UnitFeature's UnitScenario.test methods.
toString() String
A string representation of this object.
inherited

Operators

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