defsquare / scenari

Clojure BDD library - Executable Specification with Behavior-Driven Development
MIT License
64 stars 5 forks source link

Feature Request: Multiline Strings #14

Open christianhujer opened 3 years ago

christianhujer commented 3 years ago

Gherkin supports multiline strings, like this:

Feature: Conway's Game of Life
  Scenario: Blinker
    Given the following universe:
      """
       x
       x
       x
      """
    Then the next generation MUST be:
      """

      xxx

      """

scenari believes that this is an invalid feature file due to the multiline string arguments.

dpanza commented 3 years ago

Multiline strings are not supported for now, both on scenari v1 or v2. This is a nice feature, but we need to figured out what the string will look like when parsed from instaparse.