Closed jgraber closed 1 month ago
Sorry for noticing this so late.
As this error happens with Resharper, it should be posted to Jetbrains support.
Resharper doesn't use the adapter, they connect their own runner directly to the NUnit.Engine. But, they do receive the exact same results from the framework, so this looks like a bug in their runner or test display.
PS: The repro code above has been uploaded to the adapter issues repo.
NUnit and NUnit3TestAdapter versions NUnit: 4.1.0 NUnit3TestAdapter: 4.5.0
Visual Studio edition and full version number (see Help About) Microsoft Visual Studio Enterprise 2022 (64-bit) - Current Version 17.9.6
A short repro, preferably attached or pointing to a git repo or gist
What .net platform and version is being targeted .Net 8
Problem We have two parameterized test methods with the same name in the same test file, but with a different method signature. When we run the tests with the ReSharper Test runner, it marks the tests from the second method as inconclusive and puts the parameters for the second method as pending under the first method.
2024.04.15 10:40:15.469 WARN Run: e6188ca1-157d-491e-bbf6-44a9ab53679c - Element <Demo.DemoProblemTestRunner.TestMethod(1,True)> doesn't exist in run 2024.04.15 10:40:15.469 WARN Run: e6188ca1-157d-491e-bbf6-44a9ab53679c - Element <Demo.DemoProblemTestRunner.TestMethod(2,False)> doesn't exist in run 2024.04.15 10:40:15.496 WARN Element <Demo.DemoProblemTestRunner.TestMethod(2,False)> was left Pending after its run completion. 2024.04.15 10:40:15.496 WARN Element <Demo.DemoProblemTestRunner.TestMethod(1,True)> was left Pending after its run completion.
Expected behaviour We would expect that both test methods run and that all tests get the correct status.
Example