Search code examples
perlcpan

Is Perl cpan's 2.4 Spreadsheet::WriteExcel entirely compatible running code written for its preceding 2.2 version?


There is in-use application running the 2.2 version that cannot risk interruption of the users. Features in the 2.4 version would be very helpful in our future developments. Is there someone in this community that knows the extent of this libraries particular update to reveal to me that the older code base won't be rendered defunct by the desired update.


Solution

  • The only way to know for sure if a new release of something will break existing functionality is to have a very good 100% coverage unit test suite against the existing code.

    Set up a development/staging environment, install the new version, and ensure the existing test suite passes.

    I say "very good 100% coverage", because a test suite can have 100% coverage, but if as many edge cases as possible aren't tested, the suite isn't good.