Commit 378cef3
test: add comprehensive tests for prestoplot.cli module
- Add complete test coverage for CLI commands (run and http)
- Test main group functionality including debug and pdb flags
- Test command-line argument parsing and validation
- Test error handling and exit code propagation
- Mock external dependencies (HTTP servers, logging, file system)
- Include integration tests with real YAML grammar files
- Achieve 96% test coverage for CLI module
- Follow pytest best practices with fixtures and proper mocking
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 72fc140 commit 378cef3
2 files changed
Lines changed: 514 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
0 commit comments