Checking each build before the next replacement

A checkout subsystem uses incremental integration: the team adds one real module at a time and checks the resulting build before adding another. All three modules have passed their isolated tests. The selected top-down plan introduces Checkout, then Payment, then GatewayAdapter. Unavailable callees are represented by stubs.


Three checkout modules are connected by arrows from each caller to its callee.


Arrange the activities from the initial baseline check to the final integrated check. Assume every check passes. Every changed build must pass its check before another stub is replaced.

  1. 1.

    Replace the Payment stub with real Payment, which calls a GatewayAdapter stub.

  2. 2.

    Check the Checkout–Payment interaction while GatewayAdapter remains a stub.

  3. 3.

    Check Checkout with a Payment stub to establish the initial passing baseline.

  4. 4.

    Check the complete path through Checkout, Payment and GatewayAdapter.

  5. 5.

    Replace the GatewayAdapter stub with real GatewayAdapter.

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 Strategies for Testing Large Systems Questions: