Change By: Mauro Talevi (25/Jul/12 8:51 AM)
Description: This bug appered when we started to use scenario level GivenStories keyword in our stories.

Scenario: ...
GivenStories: ...
Given ...

We use Hudson as CI with jenkins plugin for present reports. Probably, jbehave generates invalid xml, so exception occured(see StackTrace.txt in attachments) on post-build action "Publish testing tools result report".
I investigated generated xml and found some weird things:
1)missing "="
 betwean  between  attribute's name and value
{xml}
<givenStories keyword"GivenStories:">
{xml}

2)strange string like
{xml}
<givenStory >stories/Story_name.story/>
{xml}

3)escaping missed
{xml}
<failure>junit.framework.AssertionFailedError: expected <10> but was <1>
{xml}
instead
{xml}
<failure>junit.framework.AssertionFailedError: expected &lt;10&gt; but was &lt;1&gt;
{xml}

4)in two similar stories we have different xml 
first:
{xml}
<givenStories keyword"GivenStories:">
<givenStory >stories/Story_name.story/>
</givenStories>
{xml}

second:
{xml}
<scenario keyword="Scenario:" title="scenario title">   
<step outcome="successful">
Given given step {0} 
</step>
{xml}

 
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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