Chapter 31. Emily’s First Fixture
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 ...
Get Fit for Developing Software: Framework for Integrated Tests 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.