bUnit renders components in memory (no browser) and lets you find elements, trigger events and assert markup — tests run in milliseconds. Task bUnit Render with parameters ctx.Render<Counter>(p => p.Add(c => c.Start, 5)) (bUnit 2: Render; v1: RenderComponent) Find elements cut.Find("button"), cut.FindAll("li") Trigger events .Click(), .Change("value"), .Input("text") Assert markup cut.MarkupMatches("<p>…</p>"), Find("p").TextContent Inject services ctx.Services.AddSingleton<IFoo>(fake) Fake auth this.AddTestAuthorization().SetAuthorized("ada").SetRoles("Admin") (v2: AddAuthorization()) JS interop ctx.JSInterop.Mode = JSRuntimeMode.Loose or set up specific calls Async rendering cut.WaitForAssertion(() => ...) Use it with xUnit, NUnit or MSTest. Keep end-to-end coverage (Playwright) for a…