Chapter 25. Using Other Values in Tables


Until now, we have taken for granted that Fit will handle the values that we use in table cells. However, Fit handles only some of the standard Java types, including the ones that we have been using so far, such as String, int, and double. Now it's time to see how to use other values in tables with Fit fixtures.

We begin with a brief discussion of how Fit handles the standard types with TypeAdapters. We then look at how fixtures can handle other value types in tables. We illustrate with an example that uses Money values.



    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