onBeforeRunFeature method

  1. @protected
Future<void> onBeforeRunFeature({
  1. required String name,
  2. required String path,
  3. String? description,
  4. Iterable<String>? tags,
})

Implementation

@protected
Future<void> onBeforeRunFeature({
  required String name,
  required String path,
  String? description,
  Iterable<String>? tags,
}) async {
  final debugInformation = RunnableDebugInformation(path, 0, name);
  final featureTags =
      (tags ?? const Iterable<Tag>.empty()).map((t) => Tag(t.toString(), 0));
  await reporter.feature.onStarted.invoke(
    FeatureMessage(
      name: name,
      description: description,
      context: debugInformation,
      tags: featureTags.toList(growable: false),
    ),
  );
}