feat: add triggered notification handler for IFileSystemWatcher
#2688
ci.yml
on: pull_request
Matrix: Unit tests
API tests
1m 38s
Mutation tests (Linux)
0s
Mutation tests (Windows)
0s
Static code analysis
30m 59s
Publish Tests Results
24s
Annotations
2 errors and 13 warnings
|
Unit tests (windows-latest)
Error during unit tests: System.AggregateException: One or more errors occurred. (Process 'dotnet.exe' exited with code 1.
> "C:\Program Files\dotnet\dotnet.exe" test D:\a\Testably.Abstractions\Testably.Abstractions\Tests\Testably.Abstractions.Testing.Tests\Testably.Abstractions.Testing.Tests.csproj --configuration Release --collect "XPlat Code Coverage" --results-directory D:\a\Testably.Abstractions\Testably.Abstractions\TestResults --framework net8.0 --logger trx;LogFileName=Testably.Abstractions.Testing.Tests_net8.0.trx
@ D:\a\Testably.Abstractions\Testably.Abstractions
Error output:
[xUnit.net 00:00:06.73] Testably.Abstractions.Testing.Tests.FileSystem.FileSystemWatcherMockTests+EventArgsTests.FileSystemEventArgs_ShouldUseDirectorySeparatorFromSimulatedFileSystem(simulationMode: Linux, parentDirectory: "parentDirectory6ea3c65b-b57e-4256-ab99-1945f3f8eca"···, directoryName: "directoryNameabeee98c-8639-44de-87c5-16ab152ad86f") [FAIL]
)
---> Nuke.Common.Tooling.ProcessException: Process 'dotnet.exe' exited with code 1.
> "C:\Program Files\dotnet\dotnet.exe" test D:\a\Testably.Abstractions\Testably.Abstractions\Tests\Testably.Abstractions.Testing.Tests\Testably.Abstractions.Testing.Tests.csproj --configuration Release --collect "XPlat Code Coverage" --results-directory D:\a\Testably.Abstractions\Testably.Abstractions\TestResults --framework net8.0 --logger trx;LogFileName=Testably.Abstractions.Testing.Tests_net8.0.trx
@ D:\a\Testably.Abstractions\Testably.Abstractions
Error output:
[xUnit.net 00:00:06.73] Testably.Abstractions.Testing.Tests.FileSystem.FileSystemWatcherMockTests+EventArgsTests.FileSystemEventArgs_ShouldUseDirectorySeparatorFromSimulatedFileSystem(simulationMode: Linux, parentDirectory: "parentDirectory6ea3c65b-b57e-4256-ab99-1945f3f8eca"···, directoryName: "directoryNameabeee98c-8639-44de-87c5-16ab152ad86f") [FAIL]
at Nuke.Common.Tooling.ProcessExtensions.AssertZeroExitCode(IProcess process) in /_/source/Nuke.Tooling/ProcessExtensions.cs:line 38
at Nuke.Common.Tooling.ToolTasks.<>c.<GetExitHandler>b__4_0(ToolOptions _, IProcess p) in /_/source/Nuke.Tooling/ToolTasks.ExitHandler.cs:line 27
at Nuke.Common.Tooling.ToolTasks.<>c__DisplayClass8_0.<GetExitHandlerInternal>b__3(ToolOptions o, IProcess p) in /_/source/Nuke.Tooling/ToolTasks.ExitHandler.cs:line 22
at Nuke.Common.Tooling.ToolTasks.Run[T](T options) in /_/source/Nuke.Tooling/ToolTasks.Run.cs:line 36
at Nuke.Common.Tools.DotNet.DotNetTasks.DotNetTest(DotNetTestSettings options) in /_/source/Nuke.Common/Tools/DotNet/DotNet.Generated.cs:line 32
at Nuke.Common.Tooling.ConfigureExtensions.<>c__DisplayClass1_0`1.<Invoke>b__0(TOptions x) in /_/source/Nuke.Tooling/Configure.cs:line 38
at Nuke.Common.Tooling.ConfigureExtensions.<>c__DisplayClass3_0`2.<Invoke>b__0(TOptions x) in /_/source/Nuke.Tooling/Configure.cs:line 78
--- End of inner exception stack trace ---
at Nuke.Common.Tooling.ConfigureExtensions.Invoke[TOptions,TResult](CombinatorialConfigure`1 configurator, Func`2 executor, Func`2 outputSelector, Int32 degreeOfParallelism, Boolean completeOnFailure) in /_/source/Nuke.Tooling/Configure.cs:line 91
at Nuke.Common.Tooling.ConfigureExtensions.Invoke[TOptions](CombinatorialConfigure`1 configurator, Func`2 executor, Int32 degreeOfParallelism, Boolean completeOnFailure)
at Nuke.Common.Tools.DotNet.DotNetTasks.DotNetTest(CombinatorialConfigure`1 configurator, Int32 degreeOfParallelism, Boolean completeOnFailure) in /_/source/Nuke.Common/Tools/DotNet/DotNet.Generated.cs:line 36
at Build.Build.<get_DotNetUnitTests>b__62_2() in D:\a\Testably.Abstractions\Testably.Abstractions\Pipeline\Build.UnitTest.cs:line 32
|
|
Unit tests (windows-latest)
[xUnit.net 00:00:06.73] Testably.Abstractions.Testing.Tests.FileSystem.FileSystemWatcherMockTests+EventArgsTests.FileSystemEventArgs_ShouldUseDirectorySeparatorFromSimulatedFileSystem(simulationMode: Linux, parentDirectory: "parentDirectory6ea3c65b-b57e-4256-ab99-1945f3f8eca"···, directoryName: "directoryNameabeee98c-8639-44de-87c5-16ab152ad86f") [FAIL]
|
|
Static code analysis
/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/FileSystem/FileSystemWatcherMock.cs(373,4): warning S1066: Merge this if statement with the enclosing one. (https://rules.sonarsource.com/csharp/RSPEC-1066) [/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/Testably.Abstractions.Testing.csproj::TargetFramework=net6.0]
|
|
Static code analysis
/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/FileSystem/FileSystemWatcherMock.cs(886,54): warning S3011: Make sure that this accessibility bypass is safe here. (https://rules.sonarsource.com/csharp/RSPEC-3011) [/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/Testably.Abstractions.Testing.csproj::TargetFramework=net8.0]
|
|
Static code analysis
/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/FileSystem/FileSystemWatcherMock.cs(864,51): warning S3011: Make sure that this accessibility bypass is safe here. (https://rules.sonarsource.com/csharp/RSPEC-3011) [/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/Testably.Abstractions.Testing.csproj::TargetFramework=net8.0]
|
|
Static code analysis
/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/FileSystem/FileSystemWatcherMock.cs(373,4): warning S1066: Merge this if statement with the enclosing one. (https://rules.sonarsource.com/csharp/RSPEC-1066) [/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/Testably.Abstractions.Testing.csproj::TargetFramework=net8.0]
|
|
Static code analysis
/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/FileSystem/FileSystemWatcherMock.cs(886,54): warning S3011: Make sure that this accessibility bypass is safe here. (https://rules.sonarsource.com/csharp/RSPEC-3011) [/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/Testably.Abstractions.Testing.csproj::TargetFramework=net10.0]
|
|
Static code analysis
/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/FileSystem/FileSystemWatcherMock.cs(864,51): warning S3011: Make sure that this accessibility bypass is safe here. (https://rules.sonarsource.com/csharp/RSPEC-3011) [/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/Testably.Abstractions.Testing.csproj::TargetFramework=net10.0]
|
|
Static code analysis
/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/FileSystem/FileSystemWatcherMock.cs(373,4): warning S1066: Merge this if statement with the enclosing one. (https://rules.sonarsource.com/csharp/RSPEC-1066) [/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/Testably.Abstractions.Testing.csproj::TargetFramework=net10.0]
|
|
Static code analysis
/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/FileSystem/FileSystemWatcherMock.cs(886,54): warning S3011: Make sure that this accessibility bypass is safe here. (https://rules.sonarsource.com/csharp/RSPEC-3011) [/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/Testably.Abstractions.Testing.csproj::TargetFramework=net9.0]
|
|
Static code analysis
/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/FileSystem/FileSystemWatcherMock.cs(864,51): warning S3011: Make sure that this accessibility bypass is safe here. (https://rules.sonarsource.com/csharp/RSPEC-3011) [/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/Testably.Abstractions.Testing.csproj::TargetFramework=net9.0]
|
|
Static code analysis
/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/FileSystem/FileSystemWatcherMock.cs(373,4): warning S1066: Merge this if statement with the enclosing one. (https://rules.sonarsource.com/csharp/RSPEC-1066) [/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/Testably.Abstractions.Testing.csproj::TargetFramework=net9.0]
|
|
Unit tests (windows-latest)
D:\a\Testably.Abstractions\Testably.Abstractions\Tests\Testably.Abstractions.Testing.Tests\obj\Release\net48\aweXpect.Frameworks\aweXpect.Frameworks.FrameworkGenerator\Xunit3.g.cs(23,35): warning CS0436: The type 'DoesNotReturnAttribute' in 'C:\Users\runneradmin\.nuget\packages\nullable\1.3.1\contentFiles\cs\net40\Nullable\DoesNotReturnAttribute.cs' conflicts with the imported type 'DoesNotReturnAttribute' in 'Testably.Abstractions.Testing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f24346c8579fcb48'. Using the type defined in 'C:\Users\runneradmin\.nuget\packages\nullable\1.3.1\contentFiles\cs\net40\Nullable\DoesNotReturnAttribute.cs'. [D:\a\Testably.Abstractions\Testably.Abstractions\Tests\Testably.Abstractions.Testing.Tests\Testably.Abstractions.Testing.Tests.csproj::TargetFramework=net48]
|
|
Unit tests (windows-latest)
D:\a\Testably.Abstractions\Testably.Abstractions\Tests\Testably.Abstractions.Testing.Tests\obj\Release\net48\aweXpect.Frameworks\aweXpect.Frameworks.FrameworkGenerator\Xunit3.g.cs(18,35): warning CS0436: The type 'DoesNotReturnAttribute' in 'C:\Users\runneradmin\.nuget\packages\nullable\1.3.1\contentFiles\cs\net40\Nullable\DoesNotReturnAttribute.cs' conflicts with the imported type 'DoesNotReturnAttribute' in 'Testably.Abstractions.Testing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f24346c8579fcb48'. Using the type defined in 'C:\Users\runneradmin\.nuget\packages\nullable\1.3.1\contentFiles\cs\net40\Nullable\DoesNotReturnAttribute.cs'. [D:\a\Testably.Abstractions\Testably.Abstractions\Tests\Testably.Abstractions.Testing.Tests\Testably.Abstractions.Testing.Tests.csproj::TargetFramework=net48]
|
|
Unit tests (windows-latest)
D:\a\Testably.Abstractions\Testably.Abstractions\Tests\Testably.Abstractions.Testing.Tests\obj\Release\net48\aweXpect.Frameworks\aweXpect.Frameworks.FrameworkGenerator\Xunit3.g.cs(13,35): warning CS0436: The type 'DoesNotReturnAttribute' in 'C:\Users\runneradmin\.nuget\packages\nullable\1.3.1\contentFiles\cs\net40\Nullable\DoesNotReturnAttribute.cs' conflicts with the imported type 'DoesNotReturnAttribute' in 'Testably.Abstractions.Testing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f24346c8579fcb48'. Using the type defined in 'C:\Users\runneradmin\.nuget\packages\nullable\1.3.1\contentFiles\cs\net40\Nullable\DoesNotReturnAttribute.cs'. [D:\a\Testably.Abstractions\Testably.Abstractions\Tests\Testably.Abstractions.Testing.Tests\Testably.Abstractions.Testing.Tests.csproj::TargetFramework=net48]
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
API-tests
|
10.1 KB |
sha256:99577016e5a26550412097e53306e7278c02b518daa30a800229c1bedff59af3
|
|
|
Linux-artifacts
|
9.34 MB |
sha256:6dc79ca4694834f95e0563c7f1273e1fd6888cb58b08001763d24412aff594ea
|
|
|
Windows-artifacts
|
10.4 MB |
sha256:6ec1e1d51a224064a7e9f3b322d7023a82f82517e842015022f9b78cb3bedebe
|
|
|
macOS-artifacts
|
9.37 MB |
sha256:6dc7fbab917336c078b4b283a68420319a0720fdda7e3cab023eb9fca3e2be96
|
|