Section 5.3. Summary


5.3. Summary

  • We often need to test collections, especially after carrying out some actions on a system under test, to check that an appropriate change has occurred.

  • RowFixture tables are good for checking the elements of a list.

  • Where the order of the list is important, a table column is needed to give the order.

  • We see in Section 10.6 on p. 78 that ArrayFixture tables can also be used to check that the elements are in the correct order.

  • We see in Section 10.7 on p. 79 that SubsetFixture tables check that all the expected elements in the table occur in the actual collection but ignore surplus elements.



    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