Gherkin icon indicating copy to clipboard operation
Gherkin copied to clipboard

Add descriptions support for the nodes: ExampleTable, Outline and Sce…

Open jojo1981 opened this issue 2 years ago • 3 comments

Now the descriptions.feature sample in CompatibilityTest will work. The code is backward compatible.

jojo1981 avatar Jul 26 '22 13:07 jojo1981

This looks great! How does it change the output of the pretty printer in Behat, though? As long as it's just that the descriptions are cleanly omitted I think that's fine?

ciaranmcnulty avatar Sep 13 '22 13:09 ciaranmcnulty

This might impact the pretty printer ignoring description because previously, that description would be parsed as a multi-line title (and so displayed). However, adding the rendering of the description in Behat should be easy.

stof avatar Sep 13 '22 14:09 stof

I didn't check that, but as this change is not backwards compatible based on functionality a new major version should be released including this feature. The Behat library can be made compatible later and use the new major version of this library.

jojo1981 avatar Sep 13 '22 16:09 jojo1981