Chapter 16. Transforming Workflow Tests into Calculation Tests


After writing several related workflow tests, we see an underlying pattern. Rather than repeatedly copying a test and making small variations, it pays to clarify the essential elements of the test.

We end up collapsing a large number of workflow tests into a few tables of calculation tests. We do this by cutting to the essential nature of the underlying business rules. As we'll see, it's not necessarily obvious from the start where we'll end up.

Programmers

The fixture code for the tests in this chapter is given in Chapter 35.




    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