using System.Reflection; using StellaOps.Infrastructure.Postgres.Testing; using Xunit; namespace StellaOps.SbomService.Storage.Postgres.Tests; /// /// PostgreSQL integration test fixture for the SbomService module. /// public sealed class SbomServicePostgresFixture : PostgresIntegrationFixture, ICollectionFixture { protected override Assembly? GetMigrationAssembly() => typeof(SbomServiceDataSource).Assembly; protected override string GetModuleName() => "SbomService"; } /// /// Collection definition for SbomService PostgreSQL integration tests. /// Tests in this collection share a single PostgreSQL container instance. /// [CollectionDefinition(Name)] public sealed class SbomServicePostgresCollection : ICollectionFixture { public const string Name = "SbomServicePostgres"; }