Class MessagesToJunitXmlWriter.Builder

java.lang.Object
io.cucumber.junitxmlformatter.MessagesToJunitXmlWriter.Builder
Enclosing class:
MessagesToJunitXmlWriter

public static class MessagesToJunitXmlWriter.Builder extends Object
  • Method Details

    • testSuiteName

      public MessagesToJunitXmlWriter.Builder testSuiteName(String testSuiteName)
      Sets the value for the <testsuite name="..." .../> attribute. Defaults to "Cucumber".
    • testClassName

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