Files
fil/fixtures/smoke/pdf_basic.json

33 lines
724 B
JSON
Raw Normal View History

2026-06-01 23:40:55 +02:00
{
"id": "smoke_pdf_basic",
"category": "smoke",
"description": "Smoke test: PDF with simple text extraction",
"tags": ["smoke", "pdf", "basic"],
"input": {
"path": "pdf/fake_memo.pdf",
"mime_type": "application/pdf",
"config": {}
},
"assertions": [
{
"type": "equals",
"field": "mime_type",
"value": "application/pdf"
},
{
"type": "min_length",
"field": "content",
"value": 50
},
{
"type": "contains_any",
"field": "content",
"values": ["May 5, 2023", "To Whom it May Concern"]
}
],
"skip": {
"languages": ["wasm"],
"reason": "WASM cannot access filesystem; use extractBytes with file content instead"
}
}