Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public ValueTask OnTestDiscovered(DiscoveredTestContext context)
context.TestContext.Metadata.TestDetails.TestClassArguments[0] is FileSystemTestData
.Real)
{
context.AddParallelConstraint(new NotInParallelConstraint(["RealFileSystem"]));
context.AddParallelConstraint(new NotInParallelConstraint([nameof(RealFileSystem)]));
}

return _completedTask;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Testably.Abstractions.Testing.Tests.FileSystem;

[NotInParallel(nameof(IDirectoryCleaner))]
[NotInParallel(nameof(RealFileSystem))]
public sealed class FileStreamFactoryMockTests : IDisposable
{
#region Test Setup
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Testably.Abstractions.Testing.Tests.FileSystem;

[NotInParallel(nameof(IDirectoryCleaner))]
[NotInParallel(nameof(RealFileSystem))]
public sealed class FileSystemWatcherFactoryMockTests : IDisposable
{
#region Test Setup
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Testably.Abstractions.Testing.Tests.FileSystem;

[NotInParallel(nameof(IDirectoryCleaner))]
[NotInParallel(nameof(RealFileSystem))]
public sealed class FileSystemWatcherMockTests : IDisposable
{
#region Test Setup
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace Testably.Abstractions.Testing.Tests.FileSystemInitializer;

[NotInParallel(nameof(IDirectoryCleaner))]
[NotInParallel(nameof(RealFileSystem))]
public class DirectoryCleanerTests
{
#region Test Setup
Expand Down
Loading