You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trx includes StartTime and EndTime, and VSTest sets those values to the current timestamp for "backward compatibility". Xunit does not report start time or end time, just duration.
Would you be open to start tracking this information? I can make a PR.
Yes, this can be approximated today for v1 & v2 tests with the arrival of the start message. We would just need to stash that information away so it could be retrieved when creating the VSTest TestResult after the test has finished.
For v3, we can add this explicitly (we were already planning to do this with assembly starting, but it can be easily added for all start messages).
Trx includes StartTime and EndTime, and VSTest sets those values to the current timestamp for "backward compatibility". Xunit does not report start time or end time, just duration.
Would you be open to start tracking this information? I can make a PR.
visualstudio.xunit/src/xunit.runner.visualstudio/Sinks/VsExecutionSink.cs
Line 274 in b0b4704
https://github.com/microsoft/vstest/blob/b2e2126f1aa7e5753cafe9515563c99ade6a59ce/src/Microsoft.TestPlatform.ObjectModel/TestResult.cs#L34
The text was updated successfully, but these errors were encountered: