Skip to content

Commit 8417caf

Browse files
committed
Re-enable previously commented-out test categories and authentication tests in NullOpsDevs.LibSsh.Test/Program.cs. Improve README.md formatting for better readability.
1 parent f1bc6d2 commit 8417caf

2 files changed

Lines changed: 25 additions & 25 deletions

File tree

NullOpsDevs.LibSsh.Test/Program.cs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ public static async Task<int> Main()
4848

4949
// Run test categories
5050
await RunTestCategory("Authentication Tests", RunAuthenticationTests);
51-
// await RunTestCategory("Command Execution Tests", RunCommandTests);
52-
// await RunTestCategory("File Transfer Tests", RunFileTransferTests);
53-
// await RunTestCategory("Terminal Features Tests", RunTerminalTests);
54-
// await RunTestCategory("Error Handling Tests", RunErrorHandlingTests);
55-
// await RunTestCategory("Edge Case Tests", RunEdgeCaseTests);
51+
await RunTestCategory("Command Execution Tests", RunCommandTests);
52+
await RunTestCategory("File Transfer Tests", RunFileTransferTests);
53+
await RunTestCategory("Terminal Features Tests", RunTerminalTests);
54+
await RunTestCategory("Error Handling Tests", RunErrorHandlingTests);
55+
await RunTestCategory("Edge Case Tests", RunEdgeCaseTests);
5656

5757
// Display summary
5858
AnsiConsole.WriteLine();
@@ -82,11 +82,11 @@ private static async Task RunTestCategory(string categoryName, Func<Task> testFu
8282

8383
private static async Task RunAuthenticationTests()
8484
{
85-
// await RunTest("Host key retrival", TestHostKeyRetrival);
86-
// await RunTest("Password Authentication", TestPasswordAuth);
87-
// await RunTest("Public Key Authentication (no passphrase)", TestPublicKeyAuth);
88-
// await RunTest("Public Key Authentication (with passphrase)", TestPublicKeyAuthWithPassphrase);
89-
// await RunTest("Public Key from Memory", TestPublicKeyFromMemory);
85+
await RunTest("Host key retrival", TestHostKeyRetrival);
86+
await RunTest("Password Authentication", TestPasswordAuth);
87+
await RunTest("Public Key Authentication (no passphrase)", TestPublicKeyAuth);
88+
await RunTest("Public Key Authentication (with passphrase)", TestPublicKeyAuthWithPassphrase);
89+
await RunTest("Public Key from Memory", TestPublicKeyFromMemory);
9090
await RunTest("SSH Agent Authentication", TestSshAgentAuth);
9191
}
9292

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,21 @@ A modern, cross-platform .NET library providing managed bindings for libssh2, en
99

1010
## Features
1111

12-
| Feature | Subfeature | Supported |
13-
|----------------|------------------------------|---------------------------|
14-
| Authentication | | |
15-
| | Password | |
16-
| | Agent | ❔ (supported, not tested) |
17-
| | Host based | |
18-
| | Private key | |
19-
| SCP | | |
20-
| | File upload | |
21-
| | File download | |
22-
| Commands | | |
23-
| | One-shot command execution | |
24-
| | PTY | |
25-
| | Terminal type/mode selection | |
26-
| | Shell mode | |
12+
| Feature | Subfeature | Supported |
13+
|----------------|------------------------------|-----------|
14+
| Authentication | | |
15+
| | Password ||
16+
| | Agent | |
17+
| | Host based ||
18+
| | Private key ||
19+
| SCP | | |
20+
| | File upload ||
21+
| | File download ||
22+
| Commands | | |
23+
| | One-shot command execution ||
24+
| | PTY ||
25+
| | Terminal type/mode selection ||
26+
| | Shell mode ||
2727

2828

2929
## Installation

0 commit comments

Comments
 (0)