Skip to content

Commit a8044d0

Browse files
committed
test: add comprehensive edge case coverage for template_renderer
- Add 13 new test cases covering all critical missing scenarios - Add error handling tests for all 3 ProvisionTemplateError variants - Add input validation tests for empty names, special chars, unicode - Add file system edge cases for existing dirs, permissions, duplicates - Add async operation tests for concurrency and partial failures - Fix clippy warnings and improve code documentation - All 189 unit tests + 4 integration tests + 3 doc tests passing - All linters passing (clippy, rustfmt, shellcheck, markdown, yaml)
1 parent 415cfc3 commit a8044d0

File tree

3 files changed

+400
-8
lines changed

3 files changed

+400
-8
lines changed

src/actions/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pub enum RemoteActionError {
1919
action_name: String,
2020
message: String,
2121
},
22-
22+
2323
/// Action execution failed with custom error
2424
#[error("Action '{action_name}' execution failed: {message}")]
2525
ExecutionFailed {

src/ssh.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub enum SshError {
1616
attempts: u32,
1717
timeout_seconds: u32,
1818
},
19-
19+
2020
/// Underlying command execution failed
2121
#[error("SSH command execution failed: {source}")]
2222
CommandFailed {

0 commit comments

Comments
 (0)