[ 
http://jira.codehaus.org/browse/JBEHAVE-325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mauro Talevi updated JBEHAVE-325:
---------------------------------

    Description: 
In some languages, e.g. Italian, Portuguese and Spanish, the "And" keyword is 
translated as a single letter ("E" or "Y") which makes it possible to find in 
some textual acronym.  If the acronym ends in that letter, the parser will 
consider it a new step.

A comprehensive solution would be to require that RegexStoryParser identifies 
the second occurrence of a keyword in scenario text only if preceded by a 
newline. 

This solution would also allow users to easily comment out steps prefixing the 
starting work (on same line with !-- keyword)


  was:
In some languages, e.g. Italian, Portuguese and Spanish, the "And" keyword is 
translated as a single letter ("E" or "Y") which makes it possible to find in 
some textual acronym.  If the acronym ends in that letter, the parser will 
consider it a new step.

A comprehensive solution would be to require that all steps, i.e. all starting 
keywords, are preceded by a newline. 

This solution would also allow users to easily comment out steps prefixing the 
starting work (on same line with !-- keyword)



> StoryParser should look for starting keywords only after a newline
> ------------------------------------------------------------------
>
>                 Key: JBEHAVE-325
>                 URL: http://jira.codehaus.org/browse/JBEHAVE-325
>             Project: JBehave
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Mauro Talevi
>            Assignee: Mauro Talevi
>             Fix For: 3.0
>
>
> In some languages, e.g. Italian, Portuguese and Spanish, the "And" keyword is 
> translated as a single letter ("E" or "Y") which makes it possible to find in 
> some textual acronym.  If the acronym ends in that letter, the parser will 
> consider it a new step.
> A comprehensive solution would be to require that RegexStoryParser identifies 
> the second occurrence of a keyword in scenario text only if preceded by a 
> newline. 
> This solution would also allow users to easily comment out steps prefixing 
> the starting work (on same line with !-- keyword)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.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