test method

FutureOr<void> test({
  1. required SUT systemUnderTest,
  2. required UnitLog log,
  3. required UnitBox box,
  4. required UnitMocks mocks,
  5. Example? example,
})

Runs all code defined in a specific UnitStep.

Implementation

FutureOr<void> test({
  required SUT systemUnderTest,
  required UnitLog log,
  required UnitBox box,
  required UnitMocks mocks,
  Example? example,
}) async {
  debugPrintSynchronously(_description);
  return await _step(
    systemUnderTest,
    log,
    box,
    mocks,
    example,
  );
}