test method
void
test()
Runs all UnitTest._features
test methods.
Implementation
void test() {
flutter_test.group(
_description,
() {
final mocks = UnitMocks();
_setUpMocks?.call(mocks);
final systemUnderTest = _systemUnderTestCallback?.call(mocks);
_setUpAndTeardown(mocks: mocks, systemUnderTest: systemUnderTest);
for (int nrFeature = 0; nrFeature < _features.length; nrFeature++) {
_features[nrFeature].test(
testDescription: _description,
nrFeature: nrFeature,
mocks: mocks,
systemUnderTest: systemUnderTest,
);
}
},
);
}