The JBehave JUnit Reporter is an addon to JBehave 3 that provides fine-grained visualisation and reporting around the progress of your stories. Each JBehave step is tracked and reported on as an individual test case.
If you're running a story as a JUnit test through your favorite IDE, you'll be able to get output like this:
You can gain this capability by simply dropping the jbehave-junit-reporter-3 JAR file in your classpath and providing JBehave with the appropriate configuration. Visit the downloads page to grab a copy of the library.
The JBehave JUnit Reporter depends on JUnit 4.4 or later, and is not compatible with earlier versions of JUnit.
The JBehave JUnit Reporter depends on JBehave 3.0.0 or later, and is not compatible with earlier version of JBehave. Please visit the JBehave JUnit Reporter 2 homepage if you're looking for support for JBehave 2.
The reporter will visually mark failing steps, and also provides a count of the number of steps and stories that are failing.
The reporter will visually mark pending steps, and also provides a count of the number of steps that are pending. These are reported as 'ignored' in JUnit.
The JBehave JUnit Reporter is licensed under Apache 2.0.