CucumberOptions, json-pretty disappered

1k Views Asked by At

With Cucumber 1.1.2 I use the following annotation in my CucumberTest.java:

@Cucumber.Options(
  features = { "blabla",
    "src/test/resources/nl/abz/automotive/messaging/cucumber/via-aims-pil.feature"},
  format = {"html:target/cucumber-html-report-via-ams", "json-pretty:target/cucumber-report-via-ams.json" },
  glue = { "blabla" })

In Cucumber 1.2.2 format is replaced by plugin, but "json-pretty" is disappeared. What should I use to get json output?

1

There are 1 best solutions below

0
On

It is too simple: "json-pretty" is replaced by "json" without "pretty".