fix(cli): resolve CLI-002..007 — robust response rendering, URL/JSON arg validation, credential env-vars, doc refresh
This commit is contained in:
16
tests/ScadaLink.CLI.Tests/TestCollections.cs
Normal file
16
tests/ScadaLink.CLI.Tests/TestCollections.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
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 { }
|
||||
Reference in New Issue
Block a user