diff --git a/src/yunit/TestAdapter.cs b/src/yunit/TestAdapter.cs index a145057..06f3b8b 100644 --- a/src/yunit/TestAdapter.cs +++ b/src/yunit/TestAdapter.cs @@ -242,6 +242,7 @@ private async Task RunTest(ITestExecutionRecorder log, TestCase test, bool inOnl finally { result.EndTime = DateTime.UtcNow; + result.Duration = result.EndTime - result.StartTime; lock (s_lock) {