Closed baumheld closed 1 month ago
Hi @baumheld!
Thanks for the bug report! Is this issue causing severe impact in your testing process (just trying to understand if it can be fixed as part of MSTest 3.6 or if we need to ship a bug fix version for it).
Is there a roadmap or ETA for 3.6?
To me, it's a minor bug. Can wait until 3.6
We just started the iteration so I would guess sometime around mid-to-end August. If we have some other issues, I'll definitely make sure to backport the fix for this one too.
I have done a first investigation and the code is not problematic, the problem is coming from #3247 where we end up with all data nodes having the same UID.
Describe the bug
When using Datarows and ResultFiles together, the ResultFiles of every datarow are attached to all other datarows too, not just the current one.
Steps To Reproduce
RunTests.ps1
in Powershell (Right-click it).This will run a single test with 5 datarows. (see below)
Each datarow will attach one
ResultFile
..\tests\logs\
with an editor.Each test (one test for each datarow) now contains 5 resultfiles.
Not only does one test contain their own ResultFile, but also all ResultFiles of the other datarows.
Expected behavior
Actual behavior
Additional context
I'm quite sure this bug was introduced with the MSTest SDK.
I have older .trx-files generated with MSTest meta nuget package, which have just one
ResultFile
per datarow.