From: SourceForge.net <no...@so...> - 2009-05-18 09:31:24
|
Patches item #2793254, was opened at 2009-05-18 09:31 Message generated for change (Tracker Item Submitted) made by dominicc You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547457&aid=2793254&group_id=76550 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Dominic Clifton (dominicc) Assigned to: Nobody/Anonymous (nobody) Summary: adding basic test timing results in xml report Initial Comment: this simple patch adds a <time> element for each <test> element in the xml document that contains the time (in seconds) it took between calls to paintMethodStart and paintMethodEnd which is accurate enough for continuous integration reporting purposes example: <run> ... <case> ... <test> <name>testExecutionTime</name> <pass>slept for 5 seconds at [/opt/cruisecontrol-bin-2.8.1/projects/service-vote/source/tests/unit/classes/business/votetest.php line 233]</pass> <time>5.0023078918457</time> </test> ... </case> ... </run> ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547457&aid=2793254&group_id=76550 |