Uploaded image for project: 'JBehave'
  1. JBehave
  2. JBEHAVE-764

Allow comments between scenarios in JBehave story files.

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.6.1
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None

      Description

      Hi,

      Our story file contains aprox. 30 scenarios, they are logically divided into groups. We would like to have possibility to split those groups in story files using comments.
      So after every 3-4 scenarios we would like to add comments indicating that new section has begun. I've played little bit with Jbehave RegexStoryParser and all that need to be done is
      change of "public Story parseStory(String storyAsText, String storyPath)" method.Please see attached code snippet from overridedn RegexStoryParser

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              maciejmadej Maciej Madej
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: