@@ -79,7 +79,7 @@ public void assigns_glue() {
79
79
80
80
@ Test
81
81
public void creates_html_formatter () {
82
- RuntimeOptions options = new RuntimeOptions (asList ("--plugin" , "html:some/dir " , "--glue" , "somewhere" ));
82
+ RuntimeOptions options = new RuntimeOptions (asList ("--plugin" , "html:target/cucumber-reports " , "--glue" , "somewhere" ));
83
83
Plugins plugins = new Plugins (new PluginFactory (), new TimeServiceEventBus (TimeService .SYSTEM ), options );
84
84
assertEquals ("io.cucumber.core.plugin.HTMLFormatter" , plugins .getPlugins ().get (0 ).getClass ().getName ());
85
85
}
@@ -286,7 +286,7 @@ public void clobbers_line_filters_from_cli_if_features_specified_in_cucumber_opt
286
286
public void clobbers_formatter_plugins_from_cli_if_formatters_specified_in_cucumber_options_property () {
287
287
Properties properties = new Properties ();
288
288
properties .setProperty ("cucumber.options" , "--plugin pretty" );
289
- RuntimeOptions options = new RuntimeOptions (new Env (properties ), asList ("--plugin" , "html:some/dir " , "--glue" , "somewhere" ));
289
+ RuntimeOptions options = new RuntimeOptions (new Env (properties ), asList ("--plugin" , "html:target/cucumber-reports " , "--glue" , "somewhere" ));
290
290
Plugins plugins = new Plugins (new PluginFactory (), new TimeServiceEventBus (TimeService .SYSTEM ), options );
291
291
assertPluginExists (plugins .getPlugins (), "io.cucumber.core.plugin.PrettyFormatter" );
292
292
assertPluginNotExists (plugins .getPlugins (), "io.cucumber.core.plugin.HTMLFormatter" );
@@ -296,7 +296,7 @@ public void clobbers_formatter_plugins_from_cli_if_formatters_specified_in_cucum
296
296
public void adds_to_formatter_plugins_with_add_plugin_option () {
297
297
Properties properties = new Properties ();
298
298
properties .setProperty ("cucumber.options" , "--add-plugin pretty" );
299
- RuntimeOptions options = new RuntimeOptions (new Env (properties ), asList ("--plugin" , "html:some/dir " , "--glue" , "somewhere" ));
299
+ RuntimeOptions options = new RuntimeOptions (new Env (properties ), asList ("--plugin" , "html:target/cucumber-reports " , "--glue" , "somewhere" ));
300
300
Plugins plugins = new Plugins (new PluginFactory (), new TimeServiceEventBus (TimeService .SYSTEM ), options );
301
301
assertPluginExists (plugins .getPlugins (), "io.cucumber.core.plugin.HTMLFormatter" );
302
302
assertPluginExists (plugins .getPlugins (), "io.cucumber.core.plugin.PrettyFormatter" );
0 commit comments