Easiest way to compare two Excel files in Java?

前端 未结 11 868
面向向阳花
面向向阳花 2021-02-02 14:23

I\'m writing a JUnit test for some code that produces an Excel file (which is binary). I have another Excel file that contains my expected output. What\'s the easiest way to com

11条回答
  •  说谎
    说谎 (楼主)
    2021-02-02 14:31

    You may use Beyond Compare 3 which can be started from command-line and supports different ways to compare Excel files, including:

    • Comparing Excel sheets as database tables
    • Checking all textual content
    • Checking textual content with some formating

提交回复
热议问题