drottningholmer / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

the XML report should contain the date & time when the test program was run #182

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
From: podidoo <podidoo@gmail.com>

Something like :

<testsuites tests="38" failures="1" disabled="0" errors="0"
time="254.368" datetime="2009-08-19T15:42:23" name="AllTests">

It can be useful for test history.

From: Tor Didriksen

The datetime format should conform to ISO 8601.

http://www.iso.org/iso/support/faqs/faqs_widely_used_standards/widely_used_stand
ards_other/date_and_time_format.htm
standard datetime format is YYYY-MM-DDThh:mm:ss

Original issue reported on code.google.com by zhanyong...@gmail.com on 20 Aug 2009 at 11:56

GoogleCodeExporter commented 9 years ago

Original comment by w...@google.com on 27 Sep 2010 at 7:02

GoogleCodeExporter commented 9 years ago

Original comment by w...@google.com on 27 Sep 2010 at 7:10

GoogleCodeExporter commented 9 years ago
I created a patch for this issue: http://codereview.appspot.com/4629079
The patch is only tested on Mac and Linux.

I think that the date time value should also be added to all tags containing 
the time attribute for symmetry. This is actually not done in the patch.

Original comment by dirk....@gmail.com on 28 Jun 2011 at 12:26

GoogleCodeExporter commented 9 years ago
This is fixed in SVN revision 600.

Original comment by vladlosev on 5 Oct 2011 at 5:57

GoogleCodeExporter commented 9 years ago

Original comment by vladlosev on 5 Oct 2011 at 9:53