O'Reilly logo

Fit for Developing Software: Framework for Integrated Tests by Ward Cunningham, Rick Mugridge

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 31. Emily’s First Fixture

Programmers: The tables that use this fixture code are given in Chapter 13.

In starting to write fixtures for an existing application, it’s good to build up experience step by step. It’s likely to be easier to begin with fixtures for calculation tests.

To start integrating the first Fit tables for late returns into RPS, we worked with Emily. She had worked with Don previously, in Chapter 13, to develop the tables.

Emily started on a fixture for a calculating test table, as that was a good place to start. She was happy to change the application code to make the fixtures work without supporting tests, because that was what she was used to. It takes a while to realize that changing blind, without tests, is common ...

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