extent-framework / klov

Report server for ExtentReports
http://klov.herokuapp.com
38 stars 32 forks source link

MarkupHelper doesn't work in KlovReport #9

Closed letmejustfixthat closed 5 years ago

letmejustfixthat commented 5 years ago

The MarkupHelper result is currently not visible in the Klov Report. In the HTML report it works as expected.

test.fail(MarkupHelper.createCodeBlock(res.body().print(), CodeLanguage.JSON));

res is a REST-assured response body and will print the following:

[{"errorText":"some text","errorCode":"UNCLASSIFIED"}]

I'm using the current version 0.2.3

anshooarora commented 5 years ago

This is due to the underlying source for the json prettifier (json-tree) not being available in Klov. I will add this along with a few other fixes and release 0.2.4.