gkb / googletest

Automatically exported from code.google.com/p/googletest
0 stars 0 forks source link

Need to print elapsed time for each test, test case, and the entire test program. #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Such information is available in the XML report but not in the text output.
 We should add a --gtest_print_time flag for including timing info in the
text output. 

Original issue reported on code.google.com by mahuil...@gmail.com on 8 Jul 2008 at 6:38

GoogleCodeExporter commented 9 years ago

Original comment by shiq...@gmail.com on 8 Jul 2008 at 6:39

GoogleCodeExporter commented 9 years ago
Guys, here is my simple patch to achieve this requirement.
It uses --gtest_print_time which is false default. This new flag is tested, but 
the 
text output is not as you may want different format. Thus, it will brake the 
gtest_output_test test!

Original comment by Balazs....@gmail.com on 8 Jul 2008 at 6:30

Attachments:

GoogleCodeExporter commented 9 years ago
The code reviews can be found here: http://codereview.appspot.com/2574.

Original comment by shiq...@gmail.com on 16 Jul 2008 at 11:11

GoogleCodeExporter commented 9 years ago

Original comment by shiq...@gmail.com on 31 Jul 2008 at 6:41