csharp-sdk/tests/ModelContextProtocol.Tests/TestAttributes.cs
2025-04-02 11:09:05 -04:00

9 lines
No EOL
468 B
C#

// Uncomment to disable parallel test execution for the whole assembly
//[assembly: CollectionBehavior(DisableTestParallelization = true)]
/// <summary>
/// Enables test classes to individually be attributed as [Collection(nameof(DisableParallelization))]
/// to have those tests run non-concurrently with any other tests.
/// </summary>
[CollectionDefinition(nameof(DisableParallelization), DisableParallelization = true)]
public sealed class DisableParallelization;