3 ms·
These are typically called smoke tests, and can be valuable for regression testing of third party libraries you depend on. An alternate approach: generate the
by mattgreenrocks 4y ago
These are typically called smoke tests, and can be valuable for regression testing of third party libraries you depend on.
An alternate approach: generate the PDF, then run it through a PDF reader library to scrape the text out and ensure it is there.
- izacus 4y agoYour approach will completely miss big changes like missing pictures, broken layout, missing background and other breakages in rendering. Also missing text which isn't embedded as a text layer.
- mattgreenrocks 4y agoOf course. It was meant for argument, not as an omnibus to comprehensively testing PDFs. :)