Chapter 28. Case Study: A Library Print Server
“There’s no such thing as a free lunch.”
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.
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, ...