Issue Type: Bug Bug
Affects Versions: 3.6.8
Assignee: Unassigned
Attachments: StackTrace.txt
Components: Jenkins Support
Created: 25/Jul/12 8:08 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 attribute's name and value
<givenStories keyword"GivenStories:">

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

3)escaping missed
<failure>junit.framework.AssertionFailedError: expected <10> but was <1>
instead
<failure>junit.framework.AssertionFailedError: expected <10> but was <1>

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

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

Project: JBehave
Priority: Major Major
Reporter: Eugeny Batov
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