Robotics StackExchange | Archived questions

How to genrate gtest report with pass and fail options

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)

Asked by can-43811 on 2018-01-15 01:08:16 UTC

Comments

Answers