Questions Answers


Questions & Answers

Q1:

What other things will an adapter method in a DoFixture be needed for?

A1:

The fixture method may map values in some way, such as between String values and ints.

It may need to make several calls into the system under test. The action may be expressive in the test but not correspond directly to the organization of the application code.

It may carry out an action through the user interface by clicking buttons and entering text in fields in dialog boxes, as we discuss in Chapter 32.



    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