Class MessagesToTestngXmlWriter.Builder

java.lang.Object
io.cucumber.testngxmlformatter.MessagesToTestngXmlWriter.Builder
Enclosing class:
MessagesToTestngXmlWriter

public static final class MessagesToTestngXmlWriter.Builder extends Object
  • Method Details

    • removeUriPrefix

      public MessagesToTestngXmlWriter.Builder removeUriPrefix(String prefix)
      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 the NamingStrategy.Strategy.LONG strategy with NamingStrategy.FeatureName.EXCLUDE and NamingStrategy.ExampleName.NUMBER_AND_PICKLE_IF_PARAMETERIZED.
    • build