Exercise: The Library Checkout
Exercise: The Library Checkout: Exercise: The Library Checkout.
Updated
- Exercise: The Library Checkout (Journeyman): Take a ticket from Riverside Community Library: the board wants every late-fee rule tested, and the test team's tests hand the checkout service a clock they can set and loans kept in memory. Change the working service so it uses what it's handed, opens no database in tests, and still runs the real library, with the tests green throughout.