@@ -78,7 +78,7 @@ public void assigns_glue() {
78
78
assertEquals (asList ("somewhere" ), options .getGlue ());
79
79
}
80
80
81
- @ Test @ org . junit . Ignore
81
+ @ Test
82
82
public void creates_html_formatter () {
83
83
RuntimeOptions options = new RuntimeOptions (asList ("--plugin" , "html:some/dir" , "--glue" , "somewhere" ));
84
84
assertEquals ("cucumber.runtime.formatter.HTMLFormatter" , options .getPlugins ().get (0 ).getClass ().getName ());
@@ -260,22 +260,22 @@ public void clobbers_line_filters_from_cli_if_features_specified_in_cucumber_opt
260
260
assertEquals (asList ("@keep_this" ), runtimeOptions .getTagFilters ());
261
261
}
262
262
263
- @ Test @ org . junit . Ignore
263
+ @ Test
264
264
public void clobbers_formatter_plugins_from_cli_if_formatters_specified_in_cucumber_options_property () {
265
265
Properties properties = new Properties ();
266
266
properties .setProperty ("cucumber.options" , "--plugin pretty" );
267
267
RuntimeOptions options = new RuntimeOptions (new Env (properties ), asList ("--plugin" , "html:some/dir" , "--glue" , "somewhere" ));
268
- assertPluginExists (options .getPlugins (), "cucumber.runtime.formatter.CucumberPrettyFormatter " );
268
+ assertPluginExists (options .getPlugins (), "cucumber.runtime.formatter.PrettyFormatter " );
269
269
assertPluginNotExists (options .getPlugins (), "cucumber.runtime.formatter.HTMLFormatter" );
270
270
}
271
271
272
- @ Test @ org . junit . Ignore
272
+ @ Test
273
273
public void adds_to_formatter_plugins_with_add_plugin_option () {
274
274
Properties properties = new Properties ();
275
275
properties .setProperty ("cucumber.options" , "--add-plugin pretty" );
276
276
RuntimeOptions options = new RuntimeOptions (new Env (properties ), asList ("--plugin" , "html:some/dir" , "--glue" , "somewhere" ));
277
277
assertPluginExists (options .getPlugins (), "cucumber.runtime.formatter.HTMLFormatter" );
278
- assertPluginExists (options .getPlugins (), "cucumber.runtime.formatter.CucumberPrettyFormatter " );
278
+ assertPluginExists (options .getPlugins (), "cucumber.runtime.formatter.PrettyFormatter " );
279
279
}
280
280
281
281
@ Test
0 commit comments