What problem does it solve? Writing bUnit tests for Blazor components often fails in confusing ways: EditorRequired parameters silently stay null, Assert.Single reports misleading collection counts, Click() failures surface late as UnknownEventHandlerIdException, and optional [Inject] properties crash on .NET 6. This Skill provides verified bUnit 1.x behaviors and robust test patterns so tests fail at the right assertion for the right reason. ## Core Features & Use Cases - Verified bUnit 1.x facts: Documents real observed behaviors of RenderComponent, WaitForAssertion, cut.Render(), Click(), UploadFiles, and KeepAliveWithinGroup lifetime modes. - Robust test patterns: Prescribes re-querying FindAll before clicks, flushing pending renders with cut.Render(), asserting exact element counts, and containing async handler exceptions with visible status messages. - Diagnostic workflow: Provides a fail-first repro workflow and a throwaway dump-state test pattern using ITestOutputHelper to resolve ambiguous failures in one cycle. - Use Case: A bUnit test fails with "Collection contained 2 items" on Assert.Single even though the flow looks correct; the Skill diagnoses the selector-count trap and prescribes asserting the exact expected count before clicking the intended toolbar button. ## Quick Start Ask the agent to write or fix a bUnit test for a Blazor component, for example a test that renders a component, uploads a file through InputFile, and asserts the resulting DOM state.