I am building a BDD-like system that would allow converting of pseudo-English into executable code for web testing. Our current test system is built in Java, using TestNG and Selenium to perform tests.
At this point I have a JBehave+TestNG system running simple web tests. The problem that I have is in reporting the test results. The JBehave examples show to extend the JUnitStories class, overloading the "run()" method with the TestNG @Test annotation. Indeed, that gets the TestNG drive the tests, but all results reporting reduces to a single test - "run". Also, all error information is lost in this reduction process.
I am trying to find a way to extend the TestNG reporting when running JBehave scenarios. Ideally, I would have something similar to what has been done for JUnit. Is anyone aware of such integration for TestNG?