Commit 03fe61d
committed
libtmux(test[logging]): add logging schema test
why: Verify structured logging contract per AGENTS.md testing standards.
what:
- Add test_tmux_cmd_debug_logging_schema asserting tmux_cmd and
tmux_exit_code extra fields on log records from common.tmux_cmd
- Uses caplog.records attributes (not caplog.text) per standards1 parent c1ed3e5 commit 03fe61d
1 file changed
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
0 commit comments