Package io.cucumber.testngxmlformatter
Class MessagesToTestngXmlWriter.Builder
java.lang.Object
io.cucumber.testngxmlformatter.MessagesToTestngXmlWriter.Builder
- Enclosing class:
MessagesToTestngXmlWriter
-
Method Summary
Modifier and TypeMethodDescriptionbuild(OutputStream out) removeUriPrefix(String prefix) Removes a given prefix from all URI locations.testNamingStrategy(io.cucumber.query.NamingStrategy namingStrategy) Set the naming strategy used for the<testcase name="...".../> attribute.
-
Method Details
-
removeUriPrefix
Removes a given prefix from all URI locations.The typical usage would be to trim the current working directory. This makes the report more readable.
-
testNamingStrategy
public MessagesToTestngXmlWriter.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
-