jbehave-eclipse-plugin
jbehave-eclipse-plugin copied to clipboard
Highlight PASSED / FAILED / PENDING in editor after JUnit run
I assume this would be a little work to accomplish but also be a really handy when trying to get a green bar:
- Hook into the eclipse JUnit plugin (add a TestRunListener via JUnitCore) and after test execution look for known jbehave xml results
- parse them and highlight lines in the editor depending on the status (green background = PASSED, red background = FAILED, optionally with Stacktrace)
- alternatively add a new tab to the editor that shows the results (if available)
This would make it possible to get quick visual feedback which parts of a story fail and which pass and jump directly to the failed steps.