Raymond
Raymond

Reputation: 614

karate.log(args) on afterScenario hook is not embedded on surefire json file

I am doing karate.log(...args) on my hook file. It is printed on the karate.log and the console.

However I do not find the log on the .json file generated by surefire, which leads to the log does not appear on my html report.

enter image description here

Is there any steps I am missing here?

Thanks a lot!

Upvotes: 1

Views: 95

Answers (1)

Peter Thomas
Peter Thomas

Reputation: 58058

Yes hooks don't log to the HTML report, sorry. Are you doing testing or just worrying about reports :)

Upvotes: 1

Related Questions