Skip to content

refactor: use auto-property field declarations #2683

refactor: use auto-property field declarations

refactor: use auto-property field declarations #2683

Triggered via pull request January 30, 2026 13:38
Status Success
Total duration 39m 35s
Artifacts 4

ci.yml

on: pull_request
Matrix: Unit tests
Mutation tests (Linux)
0s
Mutation tests (Linux)
Mutation tests (Windows)
0s
Mutation tests (Windows)
Static code analysis
30m 54s
Static code analysis
Publish Tests Results
25s
Publish Tests Results
Fit to window
Zoom out
Zoom in

Annotations

13 warnings
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/Helpers/RandomFactory.cs(27,28): warning S2245: Make sure that using this pseudorandom number generator is safe here. (https://rules.sonarsource.com/csharp/RSPEC-2245) [/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(883,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=net6.0]
Static code analysis
/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/FileSystem/FileSystemWatcherMock.cs(861,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=net6.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=net6.0]
Static code analysis
/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/Helpers/RandomFactory.cs(27,28): warning S2245: Make sure that using this pseudorandom number generator is safe here. (https://rules.sonarsource.com/csharp/RSPEC-2245) [/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/Helpers/RandomFactory.cs(27,28): warning S2245: Make sure that using this pseudorandom number generator is safe here. (https://rules.sonarsource.com/csharp/RSPEC-2245) [/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(883,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(861,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]
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:a191dbad5617e4532ab1facc5143ef8fae71e95e44e00ab0e09799aa402f04b7
Linux-artifacts
9.33 MB
sha256:6afb48e658d7d75c3f39deb0a85a89db40489cf1a08ce25b7da1f1d6201d48bf
Windows-artifacts
10.4 MB
sha256:ffa48a495483c918dd49817fc22272399ff4fd97b1de1ebeab0c893f03ff23df
macOS-artifacts
9.4 MB
sha256:87eab9b07770c5dc52109d19190e30d83ce5e47bc950531daf9aea01717366b5