Commit b1276e4
committed
Add comprehensive tests for diagnostics tools, remove coverage exclusion
Covers all 13 debug tool handlers including set_breakpoints (path
mapping + warnings), get_variables (scope filtering, object_path,
truncation), wait_for_stop (immediate halt, timeout, waiter
resolution), capture_at_breakpoint (full orchestration, trigger_url,
eval errors, timeout), start_session (real fixture cartridge + stubbed
manager), and all step_* variants. Registry tests cover idle cleanup
and disconnect error swallowing.
Coverage is now 99.81% statements/lines, 94.65% branches, 98.94%
functions — meeting all thresholds without excluding diagnostics.1 parent 9d72bf0 commit b1276e4
3 files changed
Lines changed: 762 additions & 11 deletions
File tree
- packages/b2c-dx-mcp
- test/tools/diagnostics
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments