O'Reilly logo

Lean-Agile Acceptance Test-Driven Development: Better Software Through Collaboration by Ken Pugh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 28. Case Study: A Library Print Server

“There’s no such thing as a free lunch.”

Anonymous

Here is a library print server system. Libraries use such a system to charge for printouts of documents. The example shows how acceptance tests can cover a workflow and not just a use case.

The Context

I have consulted for Rob Walsh, the cofounder of EnvisionWare, in exploring a new object design for the print server system the company provides to libraries. In my book Prefactoring, I showed the unit test strategy and underlying object design for the system.1 I described the work flow with a concentration on how it was implemented using the internal messaging system. The following workflow concentrates on the acceptance tests.

A library patron, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required