Ted
Ted

Reputation: 1760

Convert Google test XML report to HTML (console)

I need an example (in some console tool) to convert generated gtest XML report to HTML. A solution mast be without using ant or Maven.

Upvotes: 7

Views: 4424

Answers (2)

Konstantin Burlachenko
Konstantin Burlachenko

Reputation: 5675

I did it for myself with programming language, which is Python 2.*: https://github.com/burlachenkok/gtest_report

Also this gtest_report supports comparision of 2 or more google test results.

If to be honest it was the prime goal.

Upvotes: 3

Stephane Rolland
Stephane Rolland

Reputation: 39906

you should use xslt to transform xml into html.

you could use the xsltproc tool from the command line under linux. I guess there are equivalent tools for other OSes.

Upvotes: 5

Related Questions