13 lines
434 B
C#
13 lines
434 B
C#
|
|
namespace Books.Api.Tests.Infrastructure;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Collection definition for integration tests.
|
||
|
|
/// All test classes decorated with [Collection(Name)] will run serially
|
||
|
|
/// to avoid Hangfire in-memory storage conflicts between parallel tests.
|
||
|
|
/// </summary>
|
||
|
|
[CollectionDefinition(Name)]
|
||
|
|
public class IntegrationTestCollection : ICollectionFixture<TestWebApplicationFactory>
|
||
|
|
{
|
||
|
|
public const string Name = "Integration";
|
||
|
|
}
|