Fit for Developing Software: Framework for Integrated Tests

29.4. Summary

We have covered two types of specialized fixtures for three examples of custom tables.

  1. TableFixture allows random access to the cells of a Fit table, which is ideal when the table structure is not regular, such as when it represents an invoice.

  2. FitLibrary fixtures allow for graphics to be used to test complex relationships.

  3. ImageFixture allows for an array of images to be used for testing.

In general, it's not difficult to create specialized fixtures to support custom tables that aid in the expressiveness of specific Fit tests. We cover the development of such fixtures in Chapter 38.

    Категории