Closed GoogleCodeExporter closed 9 years ago
Changing the format of Google Test's standard XML output is likely to break
many tools that already work with
it.
There is a couple of things you can do to achieve the desired output format
without changing the default one.
First, you can use simple XSLT transformations to combine existing XML
attributes into a desired form or
prepend a desired prefix. Second you can write a custom XML output generator
using Google Test's event
listener API (see
http://code.google.com/p/googletest/wiki/GoogleTestAdvancedGuide#Extending_Googl
e_Test_by_Handling_
Test_Events and http://www.google.com/codesearch/p?
hl=en#DwxMT4dmL0s/trunk/src/gtest.cc&q=XmlUnitTestResultPrinter%20package:http:/
/googletest%5C.goo
glecode%5C.com&sa=N&cd=1&ct=rc&l=97).
Original comment by vladlosev
on 31 Mar 2010 at 8:50
Is there a way to record a property for all tests like using the function
::testing::Test::RecordProperty or some other equivalent before calling
RUN_ALL_TESTS()
or Global Set-Up functions?
Original comment by BitO...@gmail.com
on 2 Apr 2010 at 3:09
Currently no; we are tracking that in issue 250
(http://code.google.com/p/googletest/issues/detail?id=250).
Original comment by vladlosev
on 2 Apr 2010 at 8:53
Original issue reported on code.google.com by
BitO...@gmail.com
on 31 Mar 2010 at 7:42