When creating reports, JBehave automatically puts the contents of the story into the report along with possible approval failures. So far, so good. However, I would like to add additional information, especially (but not necessarily limited to) unsuccessful steps.
In a specific case, the test generates random file names to ensure uniqueness when running the script. I would like these names that were generated in my annotated @Given or @When methods to be included in the report.
I found that the documentation is a bit missing / confusing. Am I missing something?
source share