summaryrefslogtreecommitdiff
path: root/pkg/wgconf
diff options
context:
space:
mode:
authorJames O'Doherty <james@theodohertyfamily.com>2026-05-22 09:18:55 -0400
committerJames O'Doherty <james@theodohertyfamily.com>2026-05-22 09:18:55 -0400
commit96d75d9f1fab87365d7e6b5070eed3a5757c3484 (patch)
treee01144dbb5338826d36f1b07444ebd78407c3bf4 /pkg/wgconf
parent756ba94292b408cc4f23d137b2c4c52009b2b38d (diff)
Refactor CLI for testability and implement hermetic config path injection
Diffstat (limited to 'pkg/wgconf')
-rw-r--r--pkg/wgconf/wgconf_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/wgconf/wgconf_test.go b/pkg/wgconf/wgconf_test.go
index ccd3960..d0bcb0b 100644
--- a/pkg/wgconf/wgconf_test.go
+++ b/pkg/wgconf/wgconf_test.go
@@ -5,11 +5,11 @@ import (
)
func TestParseConfig(t *testing.T) {
- t.Log("Unit Test: Verifying WireGuard .conf parsing logic")
- // TODO: Implement test cases for valid/invalid configs, MTU, and DNS
+ // Test that valid .conf files are parsed correctly and invalid ones return errors.
+ t.Skip("not implemented")
}
func TestValidateProfile(t *testing.T) {
- t.Log("Unit Test: Verifying profile validation and path resolution")
- // TODO: Implement test cases for ~/.config/wg-wrap/profiles/ resolution
+ // Test that profile names are resolved correctly to ~/.config/wg-wrap/profiles/*.conf.
+ t.Skip("not implemented")
}