namespace LANCommander.Server.UI.Tests; /// /// xUnit collection definition that shares a single ConfiguredServerFixture across all /// test classes in the "Server" collection. This avoids creating multiple WebApplicationFactory /// instances that fight over the static DatabaseContext.Provider. /// [CollectionDefinition("Server")] public class ServerCollection : ICollectionFixture { } /// /// Separate collection for FirstTimeSetupTests which needs its own unconfigured server. /// Having it in its own collection ensures it doesn't share state with the Server collection. /// [CollectionDefinition("FirstTimeSetup")] public class FirstTimeSetupCollection : ICollectionFixture { }