Chapter 31. Emily s First Fixture


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 but rather risky. It leaves incomplete work behind, which often needs to be tidied up later, when faults are found. Too often, such faults are found by the application's users.



    Fit for Developing Software. Framework for Integrated Tests
    Fit for Developing Software: Framework for Integrated Tests
    ISBN: 0321269349
    EAN: 2147483647
    Year: 2005
    Pages: 331

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net