15 lines
619 B
C#
15 lines
619 B
C#
namespace Elternbeirat.Web.Tests;
|
|
|
|
/// <summary>
|
|
/// Groups every test that needs the seeded PocketBase container into one xUnit
|
|
/// collection, so the single <see cref="PocketBaseFixture"/> (one container, one
|
|
/// seed) is shared across those classes instead of started once per class. The
|
|
/// test project runs one PocketBase for the whole run under the fixed project
|
|
/// name <c>eb-test-stack</c>; sharing avoids two classes fighting over it.
|
|
/// </summary>
|
|
[CollectionDefinition(Name)]
|
|
public sealed class PocketBaseTestGroup : ICollectionFixture<PocketBaseFixture>
|
|
{
|
|
public const string Name = "PocketBase";
|
|
}
|