Class Pretty


  • public class Pretty
    extends Object
    • Method Detail

      • prettyPrint

        public static String prettyPrint​(io.cucumber.messages.types.GherkinDocument gherkinDocument,
                                         Syntax syntax)
        Pretty print a GherkinDocument as either markdown or gherkin.
        Parameters:
        gherkinDocument - The GherkinDocument object.
        syntax - What syntax do you want to format to?
        Returns:
        The pretty printed string representation of the Gherkin doc in the syntax indicated.