Commit graph

2 commits

Author SHA1 Message Date
jedarden
7c462e9e8c docs(bf-32by8-step3): record pdftract command execution with captured output
Executed pdftract extract command with RUST_LOG unset:
- Command: cargo run -- extract tests/fixtures/encoding/fingerprint-match.pdf --json -
- Exit code: 1 (failure)
- Error: 'Failed to extract PDF'
- Output captured to notes/bf-32by8-step3.md

Acceptance criteria:
-  Run command with RUST_LOG unset
-  Capture both stdout and stderr
-  Record exit code (1)
-  Save output to verification note

Closes bf-32by8
2026-07-06 19:19:04 -04:00
jedarden
e92a4d7743 test(bf-5emrx): add assert_exit_code error message verification test
- Add comprehensive test for assert_exit_code failure scenario
- Test verifies AssertionError contains expected/actual values and useful message
- Creates ExtractionResult with error_count=1 (exit code 1)
- Calls assert_exit_code(0) expecting Err(...)
- Validates error message contains 'expected 0', 'got 1', and mentions errors

Verification: notes/bf-5emrx.md

Closes: bf-5emrx
2026-07-06 19:18:05 -04:00