zeus1234
zeus1234

Reputation: 473

Add console output to Cucumber HTML report

I would like to add console output of tests to the Cucumber HTML report as shown here Report

How do i set this or do i need to write some code in the Test Runner?

Upvotes: 3

Views: 8624

Answers (1)

Peter Thomas
Peter Thomas

Reputation: 58153

Kindly refer to the instructions here: https://github.com/intuit/karate/tree/master/karate-demo#example-report

This will give you the report that you see in your question.

If you use the print keyword, that will also appear.

And also refer to the answers to this question: Logging Messages from Java Class back to the Karate Report

Upvotes: 1

Related Questions