Skip to content

Bump test dependencies #134

Bump test dependencies

Bump test dependencies #134

Triggered via pull request February 2, 2025 18:20
Status Failure
Total duration 4m 14s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors
Linux: test/Renci.SshNet.Tests/Classes/SshCommandTest.cs#L19
Prefer 'Assert.ThrowsException/ThrowsExceptionAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
Linux: test/Renci.SshNet.Tests/Classes/SshMessageFactoryTest.cs#L412
Assertion arguments should be passed in the correct order. 'actual' and 'expected'/'notExpected' arguments have been swapped. (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0017)
Linux: test/Renci.SshNet.Tests/Classes/SshMessageFactoryTest.cs#L420
Assertion arguments should be passed in the correct order. 'actual' and 'expected'/'notExpected' arguments have been swapped. (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0017)
Linux: test/Renci.SshNet.Tests/Classes/SftpClientTest.DeleteDirectory.cs#L16
Prefer 'Assert.ThrowsException/ThrowsExceptionAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
Linux: test/Renci.SshNet.Tests/Classes/SftpClientTest.DeleteFile.cs#L16
Prefer 'Assert.ThrowsException/ThrowsExceptionAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
Linux: test/Renci.SshNet.Tests/Classes/SftpClientTest.DeleteFileAsync.cs#L17
Prefer 'Assert.ThrowsException/ThrowsExceptionAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
Linux: test/Renci.SshNet.Tests/Classes/SftpClientTest.ListDirectory.cs#L18
Prefer 'Assert.ThrowsException/ThrowsExceptionAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
Linux: test/Renci.SshNet.Tests/Classes/SftpClientTest.ListDirectoryAsync.cs#L20
Prefer 'Assert.ThrowsException/ThrowsExceptionAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
Linux: test/Renci.SshNet.Tests/Classes/ScpClientTest.cs#L67
Review or remove the assertion as its condition is known to be always true (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0032)
Linux: test/Renci.SshNet.Tests/Classes/PrivateKeyAuthenticationMethodTest.cs#L17
Prefer 'Assert.ThrowsException/ThrowsExceptionAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
Windows: test/Renci.SshNet.IntegrationTests/KeyExchangeAlgorithmTests.cs#L162
Test method 'DiffieHellmanGroup18Sha512' should not be ignored (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0015)
Windows: test/Renci.SshNet.IntegrationTests/OldIntegrationTests/ForwardedPortLocalTest.cs#L104
Prefer 'Assert.ThrowsException/ThrowsExceptionAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
Windows: test/Renci.SshNet.IntegrationTests/OldIntegrationTests/SftpClientTest.ChangeDirectory.cs#L13
Prefer 'Assert.ThrowsException/ThrowsExceptionAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
Windows: test/Renci.SshNet.IntegrationTests/OldIntegrationTests/SftpClientTest.ChangeDirectory.cs#L25
Prefer 'Assert.ThrowsException/ThrowsExceptionAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
Windows: test/Renci.SshNet.IntegrationTests/OldIntegrationTests/SftpClientTest.ChangeDirectory.cs#L37
Prefer 'Assert.ThrowsException/ThrowsExceptionAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
Windows: test/Renci.SshNet.IntegrationTests/OldIntegrationTests/SftpClientTest.ChangeDirectory.cs#L49
Prefer 'Assert.ThrowsException/ThrowsExceptionAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
Windows: test/Renci.SshNet.IntegrationTests/OldIntegrationTests/SftpClientTest.ChangeDirectory.cs#L61
Prefer 'Assert.ThrowsException/ThrowsExceptionAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
Windows: test/Renci.SshNet.IntegrationTests/OldIntegrationTests/SftpClientTest.ChangeDirectory.cs#L73
Prefer 'Assert.ThrowsException/ThrowsExceptionAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
Windows: test/Renci.SshNet.IntegrationTests/OldIntegrationTests/SftpClientTest.ChangeDirectory.cs#L85
Prefer 'Assert.ThrowsException/ThrowsExceptionAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)
Windows: test/Renci.SshNet.IntegrationTests/OldIntegrationTests/SftpClientTest.ChangeDirectory.cs#L97
Prefer 'Assert.ThrowsException/ThrowsExceptionAsync' over '[ExpectedException]' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0006)