report start and end time of test execution

Bug #1183722 reported by Martin Leucht
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
NUnit Framework
Triaged
Medium
Unassigned

Bug Description

[Issue now tracked at https://github.com/nunit/nunit-framework/issues/31]

The result XML should also contain the start and end times of a test execution. This is useful to match additional log data from external sources to failing tests, especially when executing long-running tests like system or user acceptance tests or tests that are executed unattended.

Proposed solution:
- add "start"/"starttime" and "end"/"endtime" attributes to "test-case" and "test-suite" elements containing the appropriate time strings used for
- rename the "time" attribute to "duration" to avoid confusion (I know, this is breaking compatibility...)
- this solution may be conflicting with #1072379

Revision history for this message
Charlie Poole (charlie.poole) wrote :

This is a reasonable request for nunit 3.0 but breaks the standard format for nunit v2.

affects: nunitv2 → nunit-3.0
Revision history for this message
Charlie Poole (charlie.poole) wrote :

We'll add at least the start time and rename elapsed time to duration for the NUnit 3 format. If you use nunit 2 compatible output, then of course the old format will be used.

Changed in nunit-3.0:
importance: Undecided → Medium
status: New → Triaged
tags: added: feature framework
description: updated
tags: added: github
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.