The Wire · Showcase
BLAZOR TESTING OVERHAUL SHIPS NATIVE AOT HARNESS, ROSLYN REVERTS SONIC SPLIT
By RepoJournal · Filed · About .NET
ASP.NET Core's Components.Testing library graduates from xUnit to MSTest on Microsoft Testing Platform, while Roslyn backs out its ambitious Sonic declaration/implementation split to unblock the next build.
The Blazor testing framework completes its migration away from xUnit v3, replacing ServerFixture<T> with a factory-based ServerFactory<T> pattern and moving to explicit MSTest TestContext parameters [1]. In parallel, the team shipped a Native AOT testing harness for Components.Testing [2], letting E2E tests publish applications as compiled native executables without dragging testing infrastructure into production code. On the schema front, ASP.NET Core now correctly preserves nullable array element types in parameter schemas, using NullabilityInfoContext to recover annotation metadata that was previously lost [3]. Over in Roslyn, a full revert of the Sonic declaration/implementation split landed [4], backing out the fast/slow discovery path that introduced regressions like lost child content parameters in fallback components [5]. The split drove enough insertion blockers that the team judged reverting cleaner than patching forward. Performance repo updated Android R2R measurements to use MAUI's public MauiEnableFullReadyToRun property, replacing a removed private switch [6]. Across 5 repos, 26 commits and 39 PRs landed; the skills repo added golden end-to-end test generation scenarios for zero-to-one, gap-analysis, and ambient-dependency test workflows [7].
One email a day. Unsubscribe in one click.
Keep up with .NET in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Review Blazor MSTest migration patterns if you maintain Components.Testing consumers dotnet/aspnetcore [plan]
- → Expect Roslyn Sonic to re-land in a future build with stricter pre-merge testing dotnet/roslyn [monitor]
- → Update Android SDK FullR2R measurements if benchmarking MAUI apps dotnet/performance [plan]
References
- [1] [Blazor] Migrate Components.Testing from xUnit v3 to MSTest on MTP (#67083) dotnet/aspnetcore
- [2] Add Native AOT Components testing harness ↗ dotnet/aspnetcore
- [3] Support nullable array element types in parameter schemas ↗ dotnet/aspnetcore
- [4] Revert the sonic decl/impl split merge from main ↗ dotnet/roslyn
- [5] Keep a fallback component's derived tag helpers during discovery (#84818) dotnet/roslyn
- [6] [Android] Update full R2R property (#5273) dotnet/performance
- [7] Add golden end-to-end test generation scenarios ↗ dotnet/skills