How to genrate gtest report with pass and fail options

asked 2018-01-15 00:08:16 -0600

can-43811 gravatar image

updated 2018-01-15 01:50:54 -0600

gvdhoorn gravatar image

Hi All,

I want to generate GTest report for my ros packages (written in c++) but still not sure how to achieve the same. Can anybody through some light on this?

below is the command:

rosrun <package name> <node name>  --gtest_output="xml:report.xml"

It generates the report with testsuites name and result with pass and fail test cases but I want to generate in below format. so that no. of test case and corresponding result can be captured with proper error and results and error and success case can be distinguished properly in UT report format. Here is the format:

TessuiteName                    testcasename                          Teststatus (Pass/Fail)
edit retag flag offensive close merge delete