[ 
https://jira.codehaus.org/browse/JBEHAVE-764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=296399#comment-296399
 ] 

Mauro Talevi commented on JBEHAVE-764:
--------------------------------------

Comments are an integral part of the story (ignorable steps) and cannot be 
removed.  They are shown in the report outputs. 

If you want to put comments between scenarios, why not use the free-text 
scenario title for this purpose?



                
> Allow comments between scenarios in JBehave story files.
> --------------------------------------------------------
>
>                 Key: JBEHAVE-764
>                 URL: https://jira.codehaus.org/browse/JBEHAVE-764
>             Project: JBehave
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 3.6.1
>            Reporter: Maciej Madej
>            Priority: Minor
>         Attachments: RegexStoryRemovingCommentsParser.java
>
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to