You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RC20 uses Gherkin java 2.9.0 which contains JsonFormatter and JsonPrettyFormatter classes which only have a constructor with a single Appendable arg.
The FormatterFactory tries, if the out arg is a File, to construct these with a File arg and results in java.lang.NoSuchMethodException: gherkin.formatter.JSONPrettyFormatter.(java.io.File).
Previously if the out arg was a File, it would be wrapped in a FileWriter in the FormatterFactory before constructing the Formatter.
The text was updated successfully, but these errors were encountered:
Updated JUnitFormatter to use Appendable.
Updated FormatterFactory to wrap File in FileWriter
Updated FormatterFactory to create directories required for files
Updated FormatterFactory to add cucumber.monochrome flag to be passed to the Pretty & Progress formatters
RC20 uses Gherkin java 2.9.0 which contains JsonFormatter and JsonPrettyFormatter classes which only have a constructor with a single Appendable arg.
The FormatterFactory tries, if the out arg is a File, to construct these with a File arg and results in java.lang.NoSuchMethodException: gherkin.formatter.JSONPrettyFormatter.(java.io.File).
Previously if the out arg was a File, it would be wrapped in a FileWriter in the FormatterFactory before constructing the Formatter.
The text was updated successfully, but these errors were encountered: