Comments (5)
I'd like to request a higher priority on this issue. We (and many others) are
using
Continuous Integration systems that all have mechanisms for parsing JUnit and
in some
cases CppUnit XML results. Right now, Google Test is not an alternative for
these
people because of the lack of reporting in a standard way.
Original comment by [email protected]
on 16 Sep 2008 at 5:01
from googletest.
Changed to high priority.
Original comment by [email protected]
on 17 Sep 2008 at 6:55
- Added labels: Priority-High
- Removed labels: Priority-Low
from googletest.
[email protected] reported:
<quote>
I've tried gtest with Cruise Control and seems xml output of gtest is
a bit different than CC expects.
CC expects this format:
<testsuite name="AllTests" ...>
<testsuite name="test_case_name" ...>
<testcase name="test_name" ...>
<failure ...>Error message</failure>
</testcase>
</testsuite>
</testsuite>
But gtest uses this:
<testsuite name="AllTests" ...>
<testsuite name="test_case_name" ...>
<testcase name="test_name" ...>
<failure message="Error message"/>
</testcase>
</testsuite>
</testsuite>
The difference is the placement of the "message". Because of this
difference CC can't display the error message.
You have to know, CC works very well with JUnit, so seems junit xml
output and gtest xml output is a bit different..
</quote>
Also, I heard report that in JUnit's output the time unit is second (e.g. 2.3),
while
Google Test uses millisecond (e.g. 2300).
Original comment by [email protected]
on 19 Sep 2008 at 5:56
from googletest.
Google Test's XML output format has been changed to match JUnit/Ant's in the
trunk.
Original comment by [email protected]
on 26 Sep 2008 at 4:12
- Changed state: Fixed
from googletest.
Is it available in latest release of gtest.
Original comment by [email protected]
on 25 Aug 2009 at 11:29
from googletest.
Related Issues (20)
- {ASSERT|EXPECT}_[NOT_]NULL(expr) HOT 2
- Need a polymorphic NULL pointer that can be used in function templates HOT 1
- Need to unify the way the GTEST_* macros are interpreted HOT 1
- 'make check' fails with undefined references. HOT 3
- --gtest_repeat should case failures to show up at the bottom
- Failed tests HOT 3
- --gtest_output flag doesn't produce output on platforms where argv[0] is empty HOT 3
- Include StackWalker for windows exception handling HOT 4
- ValuesIn(container<T>) needs to be convertible to ParamGenerator<T1> if T is assignable to T1. HOT 1
- make check fails on ubuntu 8.01 HOT 3
- Add EXPECT_HRESULT(hr) for Windows systems HOT 5
- Support for custom ResultPrinter HOT 8
- Enhance the Macros to enable the user to Specify Comments for TestCase and Test. HOT 3
- Support Multiple Levels of TestCase Specification HOT 1
- the XML report may contain invalid charactor HOT 3
- no way to delete UnitTest instance HOT 6
- need to update the wiki with parameterized test docs HOT 1
- We need well defined test procedure and test runner scripts to test Google Test HOT 1
- Value-parameterized tests must warn about interspersing test definitions and test case instantiations for the same test case. HOT 2
- 'make check' fails on SunOS 5.10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from googletest.