Skip to content

refactor: use aweXpect in testinghelper tests #1620

refactor: use aweXpect in testinghelper tests

refactor: use aweXpect in testinghelper tests #1620

Triggered via pull request March 1, 2025 15:29
Status Success
Total duration 5m 39s
Artifacts 4

ci.yml

on: pull_request
Matrix: Unit tests
Static code analysis
2m 40s
Static code analysis
Publish Tests Results
9s
Publish Tests Results
Fit to window
Zoom out
Zoom in

Annotations

50 warnings
API tests
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryTests.cs(2111,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net6.0]
API tests
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs(486,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net6.0]
API tests
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs(553,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net6.0]
API tests
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryTests.cs(2111,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net9.0]
API tests
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs(486,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net9.0]
API tests
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryTests.cs(2111,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net8.0]
API tests
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs(486,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net8.0]
API tests
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs(553,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net8.0]
API tests
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryTests.cs(2111,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net6.0]
API tests
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs(486,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net6.0]
Unit tests (macos-latest)
/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryTests.cs(2111,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net8.0]
Unit tests (macos-latest)
/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs(486,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net8.0]
Unit tests (macos-latest)
/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs(553,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net8.0]
Unit tests (macos-latest)
/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryTests.cs(2111,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net9.0]
Unit tests (macos-latest)
/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs(486,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net9.0]
Unit tests (macos-latest)
/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryTests.cs(2111,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net6.0]
Unit tests (macos-latest)
/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs(486,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net6.0]
Unit tests (macos-latest)
/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs(553,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net6.0]
Unit tests (macos-latest)
/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryTests.cs(2111,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net8.0]
Unit tests (macos-latest)
/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs(486,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/Users/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net8.0]
Unit tests (ubuntu-latest)
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs(486,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net9.0]
Unit tests (ubuntu-latest)
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryTests.cs(2111,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net9.0]
Unit tests (ubuntu-latest)
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryTests.cs(2111,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net8.0]
Unit tests (ubuntu-latest)
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs(486,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net8.0]
Unit tests (ubuntu-latest)
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs(553,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net8.0]
Unit tests (ubuntu-latest)
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs(486,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net6.0]
Unit tests (ubuntu-latest)
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs(553,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net6.0]
Unit tests (ubuntu-latest)
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryTests.cs(2111,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net6.0]
Unit tests (ubuntu-latest)
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs(486,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net9.0]
Unit tests (ubuntu-latest)
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryTests.cs(2111,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net9.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs(486,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net8.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs(553,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net8.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryTests.cs(2111,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net8.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryGetAccessControlTests.cs(16,27): warning S2699: Add at least one assertion to this test case. (https://rules.sonarsource.com/csharp/RSPEC-2699) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net8.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryInfoAccessControlTests.cs(15,27): warning S2699: Add at least one assertion to this test case. (https://rules.sonarsource.com/csharp/RSPEC-2699) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net8.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryInfoFactoryTests.cs(9,27): warning S2699: Add at least one assertion to this test case. (https://rules.sonarsource.com/csharp/RSPEC-2699) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net8.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryGetAccessControlTests.cs(30,27): warning S2699: Add at least one assertion to this test case. (https://rules.sonarsource.com/csharp/RSPEC-2699) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net8.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryInfoSymlinkTests.cs(18,27): warning S2699: Add at least one assertion to this test case. (https://rules.sonarsource.com/csharp/RSPEC-2699) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net8.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryInfoAccessControlTests.cs(42,27): warning S2699: Add at least one assertion to this test case. (https://rules.sonarsource.com/csharp/RSPEC-2699) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net8.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockDirectoryInfoSymlinkTests.cs(30,27): warning S2699: Add at least one assertion to this test case. (https://rules.sonarsource.com/csharp/RSPEC-2699) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net8.0]
Unit tests (windows-latest)
D:\a\System.IO.Abstractions\System.IO.Abstractions\tests\TestableIO.System.IO.Abstractions.TestingHelpers.Tests\MockDirectoryTests.cs(2111,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [D:\a\System.IO.Abstractions\System.IO.Abstractions\tests\TestableIO.System.IO.Abstractions.TestingHelpers.Tests\TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net8.0]
Unit tests (windows-latest)
D:\a\System.IO.Abstractions\System.IO.Abstractions\tests\TestableIO.System.IO.Abstractions.TestingHelpers.Tests\MockFileTests.cs(486,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [D:\a\System.IO.Abstractions\System.IO.Abstractions\tests\TestableIO.System.IO.Abstractions.TestingHelpers.Tests\TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net8.0]
Unit tests (windows-latest)
D:\a\System.IO.Abstractions\System.IO.Abstractions\tests\TestableIO.System.IO.Abstractions.TestingHelpers.Tests\MockFileTests.cs(553,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [D:\a\System.IO.Abstractions\System.IO.Abstractions\tests\TestableIO.System.IO.Abstractions.TestingHelpers.Tests\TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net8.0]
Unit tests (windows-latest)
D:\a\System.IO.Abstractions\System.IO.Abstractions\tests\TestableIO.System.IO.Abstractions.TestingHelpers.Tests\MockDirectoryTests.cs(2111,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [D:\a\System.IO.Abstractions\System.IO.Abstractions\tests\TestableIO.System.IO.Abstractions.TestingHelpers.Tests\TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net9.0]
Unit tests (windows-latest)
D:\a\System.IO.Abstractions\System.IO.Abstractions\tests\TestableIO.System.IO.Abstractions.TestingHelpers.Tests\MockFileTests.cs(486,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [D:\a\System.IO.Abstractions\System.IO.Abstractions\tests\TestableIO.System.IO.Abstractions.TestingHelpers.Tests\TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net9.0]
Unit tests (windows-latest)
D:\a\System.IO.Abstractions\System.IO.Abstractions\tests\TestableIO.System.IO.Abstractions.TestingHelpers.Tests\MockDirectoryTests.cs(2111,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [D:\a\System.IO.Abstractions\System.IO.Abstractions\tests\TestableIO.System.IO.Abstractions.TestingHelpers.Tests\TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net6.0]
Unit tests (windows-latest)
D:\a\System.IO.Abstractions\System.IO.Abstractions\tests\TestableIO.System.IO.Abstractions.TestingHelpers.Tests\MockFileTests.cs(486,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [D:\a\System.IO.Abstractions\System.IO.Abstractions\tests\TestableIO.System.IO.Abstractions.TestingHelpers.Tests\TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net6.0]
Unit tests (windows-latest)
D:\a\System.IO.Abstractions\System.IO.Abstractions\tests\TestableIO.System.IO.Abstractions.TestingHelpers.Tests\MockFileTests.cs(553,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [D:\a\System.IO.Abstractions\System.IO.Abstractions\tests\TestableIO.System.IO.Abstractions.TestingHelpers.Tests\TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net6.0]
Unit tests (windows-latest)
D:\a\System.IO.Abstractions\System.IO.Abstractions\tests\TestableIO.System.IO.Abstractions.TestingHelpers.Tests\MockDirectoryTests.cs(2111,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [D:\a\System.IO.Abstractions\System.IO.Abstractions\tests\TestableIO.System.IO.Abstractions.TestingHelpers.Tests\TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net472]
Unit tests (windows-latest)
D:\a\System.IO.Abstractions\System.IO.Abstractions\tests\TestableIO.System.IO.Abstractions.TestingHelpers.Tests\MockFileTests.cs(486,27): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [D:\a\System.IO.Abstractions\System.IO.Abstractions\tests\TestableIO.System.IO.Abstractions.TestingHelpers.Tests\TestableIO.System.IO.Abstractions.TestingHelpers.Tests.csproj::TargetFramework=net472]

Artifacts

Produced during runtime
Name Size
API-tests
2.84 KB
Linux-artifacts
670 KB
Windows-artifacts
846 KB
macOS-artifacts
665 KB