test property

Implementation

@override
ReportActionHandler<TestMessage> get test => ReportActionHandler(
      onStarted: ([message]) async => _timer.start(),
      onFinished: ([message]) async {
        _timer.stop();
        printMessageLine(
          "${_ranScenarios.length} scenario${_ranScenarios.length > 1 ? "s" : ""} "
          "(${_collectScenarioSummary(_ranScenarios)})",
        );
        printMessageLine(
          "${_ranSteps.length} step${_ranSteps.length > 1 ? "s" : ""} "
          "(${_collectStepSummary(_ranSteps)})",
        );
        printMessageLine(
          '${Duration(milliseconds: _timer.elapsedMilliseconds)}',
        );
      },
    );