Commit 932a8db
test: add CLI coverage tests to maintain >90% code coverage
Add 18 new tests covering text/JSON output for: help/usage, parse errors,
subnet, supernet, wide supernet, contain, overlap, subtract, list IP,
multiple networks, default CIDR, and examples in help.
Line coverage: 89.29% → 94.05%
CLI module coverage: 75.51% → 91.56%
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 82f34fe commit 932a8db
File tree
3 files changed
+11777
-2
lines changed- .config
- src/TestProject
3 files changed
+11777
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
16 | 32 | | |
17 | 33 | | |
18 | 34 | | |
0 commit comments