Testing and Fixtures¶
Test layers¶
Unit tests¶
Used for:
- parser correctness
- geometry math
- target normalization
- string serialization and parsing
- search match coalescing
Integration tests¶
Used for:
- fixture open
- text extraction
- search-driven targeting
- redaction apply and save
- reopen-after-save verification
Fixture corpus¶
Current fixtures include:
- simple text
- multi-page text
- rotated text
- vector-heavy content
- image XObjects
- annotations
- metadata and attachments
Type0search coverage
Fixture generation¶
Fixtures are generated from:
Keep generated PDFs and the generator script aligned when the subset expands.