use of io.cucumber.plugin.event.TestSourceRead in project cucumber-jvm by cucumber.
the class CucumberExecutionContext method beforeFeature.
public void beforeFeature(Feature feature) {
log.debug(() -> "Sending test source read event for " + feature.getUri());
bus.send(new TestSourceRead(bus.getInstant(), feature.getUri(), feature.getSource()));
bus.send(new TestSourceParsed(bus.getInstant(), feature.getUri(), singletonList(feature)));
bus.sendAll(feature.getParseEvents());
}
Aggregations