Chapter 17. Decouple with Interfaces

Wizard of Oz: “Pay no attention to that man behind the curtain.”

The Wizard of Oz

Developers can create acceptance tests for service implementations. The tests can be both for accuracy and for performance.

Tests for a Service Provider

Cathy wants the ZIP code to be checked for customer contact addresses. Debbie needs a service for the verification of a ZIP code for an address; she is not going to code the service herself, but obtain it from another group. Dave is another developer who is going to provide that service. As a backup plan in case Dave cannot implement the service, Debbie may purchase it from an external vendor.

As the requester, Debbie needs to create acceptance tests for the service that ...

Get Lean-Agile Acceptance Test-Driven Development: Better Software Through Collaboration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.