History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-2182
Type: New Feature New Feature
Status: Open Open
Priority: Minor Minor
Assignee: Steve Luo
Reporter: Helmut Namyslo
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Add 'GoogleTest Report' step type

Created: 17/Sep/14 01:12 PM   Updated: 17/Nov/15 09:42 AM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Original Estimate: 4 hours Remaining Estimate: 4 hours Time Spent: Unknown
File Attachments: 1. Zip Archive GoogleTestReport-plugin.zip (2 kb)



 Description  « Hide
I know I could write my own Plugin: [Creating a Test Report Plugin|http://wiki.pmease.com/display/QB51/Creating+a+Test+Report+Plugin#CreatingaTestReportPlugin-ReportAggregation]

But I wonder if *GoogleTest* is used by enough other users and it might be helpful for all of them and not just for me if QuickBuild provides a *GoogleTest Report* step by default.

The format of the result XML file is quite similar to the result files of other UnitTest tools:

{noformat}
<?xml version="1.0" encoding="UTF-8"?>
<testsuites tests="4" failures="1" disabled="1" errors="0" time="7.92" name="AllTests">
  <testsuite name="MathTest" tests="2" failures="1" disabled="0" errors="0" time="15">
    <testcase name="Addition" status="run" time="7" classname="MathTest">
      <failure message="Value of: add(1, 1)&#x0A; Actual: 3&#x0A;Expected: 2" type=""/>
      <failure message="Value of: add(1, -1)&#x0A; Actual: 1&#x0A;Expected: 0" type=""/>
    </testcase>
    <testcase name="Subtraction" status="run" time="2.53" classname="MathTest">
    </testcase>
  </testsuite>
  <testsuite name="LogicTest" tests="1" failures="0" disabled="0" errors="0" time="5">
    <testcase name="NonContradiction" status="run" time="0.112" classname="LogicTest">
    </testcase>
  </testsuite>
  <testsuite name="ChangedNamesTests" tests="1" failures="0" disabled="1" errors="0" time="0">
    <testcase name="DISABLED_TestChangedEvaluationName" status="notrun" time="0" classname="ChangedNamesTests" />
  </testsuite>
</testsuites>
{noformat}

I guess this feature will not create much effort for you. But for us this would be very helpful.

 All   Comments   Work Log   Change History      Sort Order:
Change by Robin Shen [18/Sep/14 12:22 AM]
Field Original Value New Value
Assignee Robin Shen [ robinshine ] Steve Luo [ steve ]

Change by Helmut Namyslo [24/Nov/14 08:55 AM]
Attachment GoogleTestReport-plugin.zip [ 10411 ]