Automatic report testing #2110
Unanswered
doortokaos
asked this question in
Q&A
Replies: 1 comment 1 reply
|
Good question. I think the best one can do for testing regressions in the PDF output is to create the reports in such a way that their output is independent on the of current date/time and then use Apache PDFBox or similar tools to generate bitmap images from the PDF and then XOR the pixels for each colour channel with the "golden" image, allowing only a very small fraction of the XOR values to be non-zero. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
since nowadays, BIRT produces new releases quite regularly I want to keep up with the releases and integrate the new versions in my product regularly.
In my product there are some integrated reports that can be used in different output formats (PDF, DOCX, XLSX). The product itself is written in JAVA, and we already have JUnit-tests for our code.
I'm trying to figure out a good way to automatically test the reports for correct generation and errorless content after an update of the report engine. Manual testing can do it's part, but I want to automate the process, so save time and manual effort if possible.
I appreciate any ideas on how to achieve automatic report testing.
Best regards,
doortokaos
All reactions