-
In issue #1208 Brad says: Does this mean that if I am writing a vstest logger or data collector the UniqueId property in events are originally generated by xUnit? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I honestly have no idea how our UniqueID correlates to the one provided by VSTest. |
Beta Was this translation helpful? Give feedback.
-
@bradwilson I was able to track down that I was looking for here: For anyone who finds this: xUnit overrides the default Id generation of TestPlatform by setting the Guid it's self based off the executor and uniqueId. This explains to me why xUnit theories don't generate duplicate TestId's within a run by vstest. |
Beta Was this translation helpful? Give feedback.
@bradwilson I was able to track down that I was looking for here:
xunit/src/xunit.runner.visualstudio/Sinks/VsDiscoverySink.cs
Line 89 in a8614d3
For anyone who finds this: xUnit overrides the default Id generation of TestPlatform by setting the Guid it's self based off the executor and uniqueId. This explains to me why xUnit theories don't generate duplicate TestId's within a run by vstest.