Improve JUnit integration

Description

As a developer using jBehave running in JUnit in Eclipse, I would like to easily determine
1. how many individual scenarios have passed or failed, and
2. which steps failures occur in

What springs to mind, is to wire each scenario up as separate JUnit TestCase (rather than the single 'testScenario()' method). Doing so, I would easily be able to drill down to the individually failing scenarios more easily. Regarding finding out which step failed, short of writing a fully-fledged plug-in, this would be a simple matter of retaining the actual failure exception and setting this in JUnit's test result - the failed step should be in the stack trace reported by JUnit.

Activity

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created January 14, 2010 at 7:36 PM
Updated December 20, 2011 at 1:13 PM
Resolved January 29, 2011 at 4:35 PM