Search in sources :

Example 1 with Comment

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();
}
Also used : Comment(gherkin.formatter.model.Comment) Tag(gherkin.formatter.model.Tag) Scenario(gherkin.formatter.model.Scenario)

Aggregations

Comment (gherkin.formatter.model.Comment)1 Scenario (gherkin.formatter.model.Scenario)1 Tag (gherkin.formatter.model.Tag)1