Skip to content

Improve SSH Test Coverage #1586

@jescalada

Description

@jescalada

SSH support has just been added in #1332, adding >10k lines of code. The total test coverage on the PR was about ~70%, leaving lots of room for improvement:

Image

Achieving >90% coverage on SSH is difficult due to the implementation complexity and hard-to-reach edge cases (SSH connection flow is very if-else heavy with extensive error handling), but we should at least get more coverage on the following three files in src/proxy/ssh which account for most of the missing coverage:

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions