feature property

  1. @override
ReportActionHandler<FeatureMessage> get feature

Implementation

@override
ReportActionHandler<FeatureMessage> get feature => ReportActionHandler(
      onStarted: ([message]) async {
        if (message == null) {
          logger.e('Cannot get feature information');
        } else {
          _testSuites.add(TestSuite(message.name, message.context.filePath));
          _testCaseIndex = 0;
        }
      },
      onFinished: ([message]) async {
        _testSuiteIndex++;
      },
    );