namespace Enciphered.Blazor.UIComponents.Tests; /// /// Assembly-level setup: boots the demo server once before any test runs. /// [SetUpFixture] public class GlobalSetup { public static DemoServerFixture Server { get; private set; } = null!; [OneTimeSetUp] public async Task OneTimeSetUp() { Server = new DemoServerFixture(); await Server.StartAsync(); TestContext.Out.WriteLine($"Demo server started at {Server.BaseUrl}"); } [OneTimeTearDown] public void OneTimeTearDown() { Server?.Dispose(); } }