summaryrefslogtreecommitdiff
path: root/pkg/wgconf
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/wgconf')
-rw-r--r--pkg/wgconf/wgconf_test.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkg/wgconf/wgconf_test.go b/pkg/wgconf/wgconf_test.go
new file mode 100644
index 0000000..ccd3960
--- /dev/null
+++ b/pkg/wgconf/wgconf_test.go
@@ -0,0 +1,15 @@
+package wgconf
+
+import (
+ "testing"
+)
+
+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
+}
+
+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
+}