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
It would be useful to have an option similar to xUnit’s DisableDiscoveryEnumeration, where test cases are not discovered during discovery but instead executed at runtime.
This could help reduce IDE overhead when there are thousands of test cases.
@kzrnm From what I've seen with IDEs, if we do this, I'm not sure the IDE's test explorer's will update correctly at runtime to reflect the new tests that weren't there at discovery time.
I think they might do some special handling for xUnit, that I don't think is there for Microsoft Testing Platform.
I could still do this, but it might still be a less than ideal UX unless the IDEs fix up their side too
the IDEs never show more than the original singular "placeholder" test, even after running.
Individual test results are not displayed in Visual Studio's Test Explorer, as shown below. xUnit displays them individually, so it may be possible to resolve this.
Activity
github-actions commentedon Jun 5, 2026
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
thomhurst commentedon Jun 8, 2026
@kzrnm From what I've seen with IDEs, if we do this, I'm not sure the IDE's test explorer's will update correctly at runtime to reflect the new tests that weren't there at discovery time.
I think they might do some special handling for xUnit, that I don't think is there for Microsoft Testing Platform.
I could still do this, but it might still be a less than ideal UX unless the IDEs fix up their side too
+semver:minor - feat: add DeferEnumeration to defer data-source expan…
thomhurst commentedon Jun 9, 2026
@kzrnm This should be in now. From my testing, the IDEs never show more than the original singular "placeholder" test, even after running.
If you see the same, would you mind raising with Jetbrains & Microsoft so we can hopefully get a fix in on Rider and Visual Studio's side
kzrnm commentedon Jun 10, 2026
Individual test results are not displayed in Visual Studio's Test Explorer, as shown below. xUnit displays them individually, so it may be possible to resolve this.
Test
thomhurst commentedon Jun 10, 2026
I'm pushing the tests through the Microsoft.Testing.Platform layer - It's up to the IDE after that. I don't think I can do anything else.
I'm not sure if IDEs have specific logic for the xUnit feature or not? I know in Rider they have a specific xUnit panel.