Package io.cucumber.junitxmlformatter
Class MessagesToJunitXmlWriter.Builder
java.lang.Object
io.cucumber.junitxmlformatter.MessagesToJunitXmlWriter.Builder
- Enclosing class:
- MessagesToJunitXmlWriter
-
Method Summary
Modifier and TypeMethodDescriptionbuild(OutputStream out) testClassName(String testClassName) Sets the value for the<testcase classname="..." .../>attribute.testNamingStrategy(io.cucumber.query.NamingStrategy namingStrategy) Set the naming strategy used for the<testcase name="...".../> attribute.testSuiteName(String testSuiteName) Sets the value for the<testsuite name="..." .../>attribute.
-
Method Details
-
testSuiteName
Sets the value for the<testsuite name="..." .../>attribute. Defaults to "Cucumber". -
testClassName
Sets the value for the<testcase classname="..." .../>attribute. Defaults to the name of the feature. -
testNamingStrategy
public MessagesToJunitXmlWriter.Builder testNamingStrategy(io.cucumber.query.NamingStrategy namingStrategy) Set the naming strategy used for the<testcase name="...".../> attribute. Defaults to theNamingStrategy.Strategy.LONGstrategy withNamingStrategy.FeatureName.EXCLUDEandNamingStrategy.ExampleName.NUMBER_AND_PICKLE_IF_PARAMETERIZED. -
build
-