16 lines
556 B
C#
16 lines
556 B
C#
|
|
using SIGCM2.TestSupport;
|
||
|
|
using Xunit;
|
||
|
|
|
||
|
|
namespace SIGCM2.Application.Tests;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Declares the "Database" xUnit collection backed by a single shared SqlTestFixture.
|
||
|
|
/// All test classes decorated with [Collection("Database")] share one fixture instance
|
||
|
|
/// per test run — eliminating concurrent Respawner collisions.
|
||
|
|
/// </summary>
|
||
|
|
[CollectionDefinition("Database")]
|
||
|
|
public sealed class DatabaseCollection : ICollectionFixture<SqlTestFixture>
|
||
|
|
{
|
||
|
|
// Intentionally empty: this class only exists to declare the collection/fixture binding.
|
||
|
|
}
|