Section 40.5. Exercises


40.5. Exercises

1.

The tests would be strengthened if we also tested that the original rental items returned to their original state. Do this by generating another table at the end of the test to ensure this.

2.

When a return is picked from the list of returns, all the rental items in that rental are returned. Change the test generator to make partial returns.

3.

Rather than storing the setup data in the program, supply this data through Fit tables, with a special fixture to run the test generator.



    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