3

I am creating cucumber scenarios and I would like to send all output to a file using logger. I would like to output all the gherkin steps during this process. I could just copy the expression from the definition and output it but it would would require added maintenance. Is there a way to access the current step that is executing and line number to output with logger? I have not found any resources on this yet. If there are alternative ways to log information during cucumber test please share!

4

0 回答 0