17 lines
642 B
C#
17 lines
642 B
C#
namespace ScadaLink.CLI.Tests;
|
|
|
|
/// <summary>
|
|
/// xUnit runs test classes in parallel by default. Several CLI test classes redirect
|
|
/// the process-global <see cref="System.Console.Out"/> / <see cref="System.Console.Error"/>,
|
|
/// which races when they run concurrently. Tests in this collection run serially.
|
|
/// </summary>
|
|
[CollectionDefinition("Console")]
|
|
public sealed class ConsoleCollection { }
|
|
|
|
/// <summary>
|
|
/// Test classes that mutate process-global environment variables run serially so they
|
|
/// do not observe each other's changes.
|
|
/// </summary>
|
|
[CollectionDefinition("Environment")]
|
|
public sealed class EnvironmentCollection { }
|