Cucumber report plugin, How can I get custom Output text to show on the report

35 views
Skip to first unread message

Jason Koelewyn

unread,
May 15, 2017, 12:25:44 PM5/15/17
to Jenkins Users
We have a lot of result text that shows in the console, but not in the report when our cuke tests run.
Is there any way to raise those messages so they show on the report?

Thank you
Jason

James Nord

unread,
May 15, 2017, 7:04:07 PM5/15/17
to Jenkins Users
I'm pretty sure I implemented this... Which plugin are you using in jenkins (there are about 3 or 4 of them :( )

James Nord

unread,
May 15, 2017, 7:04:31 PM5/15/17
to Jenkins Users

Jason Koelewyn

unread,
May 16, 2017, 8:54:30 AM5/16/17
to Jenkins Users
Thank you, but is there a way to do it outside of the hooks?  or do you just have to accumulate all your output as you go and dump it out in the after block?

On Monday, May 15, 2017 at 7:04:31 PM UTC-4, James Nord wrote:
https://gist.github.com/aslakhellesoy/4072962

Jason Koelewyn

unread,
May 16, 2017, 8:59:09 AM5/16/17
to Jenkins Users
Cuke report plugin, and the Cuke test result plugin.
The issue is we want the output at the step level, not the scenario level.
This allows explicit manual test instructions to be part of the output.

J
Reply all
Reply to author
Forward
0 new messages