Chapter 15. Tests Involving the Date and Time


Our group continues to evolve the rental tests from the previous chapter, finding that it's good to use a common SetUp while avoiding unnecessary interactions between tests. The group finds that it's easy, after all, to write tests that depend on the date and time.

When tackling business transactions, the group makes such transactions explicit in the tests. Finally, the group develops sad-path tests, which check when things go wrong.

Programmers

The fixture code for the tests in this chapter is given in Chapters 33 and 34.




    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