File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 4
4
5
5
* Refactor to support [ core testlogger] [ ]
6
6
* Compatibility: minimum framework is netstandard1.5 and TestPlatform 15.5.0
7
+ * Use test run start and end times for run duration reporting for assembly. See #26
7
8
8
9
[ core testlogger ] : https://github.com/spekt/testlogger
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ orderby resultsByType.Key
82
82
int failed = 0 ;
83
83
int skipped = 0 ;
84
84
int errors = 0 ;
85
- var time = TimeSpan . Zero ;
85
+ var time = runConfiguration . EndTime - runConfiguration . StartTime ;
86
86
87
87
var element = new XElement ( "assembly" ) ;
88
88
XElement errorsElement = new XElement ( "errors" ) ;
@@ -95,7 +95,6 @@ orderby resultsByType.Key
95
95
failed += collection . failed ;
96
96
skipped += collection . skipped ;
97
97
errors += collection . error ;
98
- time += collection . time ;
99
98
100
99
element . Add ( collection . element ) ;
101
100
}
You can’t perform that action at this time.
0 commit comments