use of gherkin.formatter.model.Comment in project cucumber-jvm by cucumber.
the class HTMLFormatterTest method runFeaturesWithFormatter.
private void runFeaturesWithFormatter(URL outputDir) throws IOException {
final HTMLFormatter f = new HTMLFormatter(outputDir);
f.uri("some\\windows\\path\\some.feature");
f.scenario(new Scenario(Collections.<Comment>emptyList(), Collections.<Tag>emptyList(), "Scenario", "some cukes", "", 10, "id"));
f.embedding("image/png", "fakedata".getBytes("US-ASCII"));
f.embedding("text/plain", "dodgy stack trace here".getBytes("US-ASCII"));
f.done();
f.close();
}