Adopting a third-party library

A project team wants to reuse an open-source library for reading spreadsheet files instead of writing its own parser. Put the steps for adopting the library into the order the team should carry them out.

  1. 1.

    State the exact behaviour the project needs from a spreadsheet library.

  2. 2.

    Compare candidate libraries on licence terms, maintenance activity and test coverage.

  3. 3.

    Add the chosen library as a dependency pinned to a specific version.

  4. 4.

    Write the project's code against the library's public interface.

  5. 5.

    Run the project's test suite to confirm the integration works as intended.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Code Reuse Questions: