Exception in thread "main" cucumber.runtime.CucumberException: Only one formatter can use STDOUT, now both pretty and json use it. If you use more than one formatter you must specify output path with PLUGIN:PATH_OR_URL at cucumber.runtime.formatter.PluginFactory.defaultOutOrFailIfAlreadyUsed(PluginFactory.java:185) at cucumber.runtime.formatter.PluginFactory.convertOrNull(PluginFactory.java:144) at cucumber.runtime.formatter.PluginFactory.instantiate(PluginFactory.java:99) at cucumber.runtime.formatter.PluginFactory.create(PluginFactory.java:87) at cucumber.runtime.RuntimeOptions.getPlugins(RuntimeOptions.java:241) at cucumber.runtime.RuntimeOptions$1.invoke(RuntimeOptions.java:287) at com.sun.proxy.$Proxy0.uri(Unknown Source) at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:160) at cucumber.runtime.Runtime.run(Runtime.java:121) at cucumber.api.cli.Main.run(Main.java:36) at cucumber.api.cli.Main.main(Main.java:18)
相关问题
- I receive the error: cannot find module 'cucum
- Port of the Rails app when running Cucumber tests
- Getting scenario and steps undefined in cucumber w
- How to output Cucumber background steps before eac
- How do I close() and quit() Selenium driver withou
相关文章
- How do you run cucumber with Scala 2.11 and sbt 0.
- How to pass multiple parameter to Cucumber Runner
- Cucumber not serializing date string from datatabl
- selenium grid with cucumber
- How to get scenario name from a scenario outline i
- Handling excel spreadsheets with Cucumber Scenario
- Can you define instance variables during Cucumber&
- Guardfile for running single cucumber feature in s
Just mention a complete path for the json report in the plugin value of
CucumberOptions
. Something like belowThe json report will be generated in the file and pretty plugin will use the console.