Aspose.Total regression test

Hi,


Please advise about methodology to perform automatic regression test on aspose.total tools.
We try to find the right way to do the compare of the office documents were created by 2 different Aspose versions, or after code change.

TIA

Arnon

Hi Arnon,


Thank you for contacting support. Please note, before releasing any new Aspose API version, the common core test cases are run against the new version to make sure that all the old capabilities work, but still it is possible to have a regression issue because of the improvements or while adding a complex feature. There are limited features compare office documents. Furthermore, it depends on which type of comparison you require. We would recommend to write unit test against the each use case because unit tests monitor for regressions in code functionality.

Thanks.

We do have many unit tests to verify all our code works using many kind of input documents.
The challenge is to find if and where the output was changed.

We assume the “base output collection” is fine (using humane check) and need to find a way to do automatic compare on the VISUAL level !
We don’t care if the internal document structure was changed…

(if this is not the right forum, please advise where to ask this).

Arnon

Hi Arnon,


Thank you for the inquiry. To compare two Word documents, please refer to these help topics: Compare Two Word Documents, Compare Microsoft Word Documents (blog post)

In reference to Aspose.Pdf API, if both PDF documents are text based, then you can extract the text from individual PDF files and try using some third party components to compare these contents. We are afraid that the comparison feature is not implemented in Aspose.Pdf. We have already logged a feature request under ticket id PDFNEWNET-31260 in our bug tracking system. Your post has also been linked this ticket. We’ll let you know once it is fixed and available for the public use.

Besides this, our sister company named GroupDocs offers the feature to compare two PDF documents. Please check following link for further details of GroupDocs comparison library, it will help you to accomplish this task.


Please also list down all office document formats which you require to compare. We’ll investigate and reply you appropriately.