Chapter 11. A Variety of Tables

As we’ve seen in previous chapters, tables based on the standard fixtures are suitable for a wide range of Fit tests. However, it is not necessary to restrict yourself to those types of tables if the tests can be expressed better in a different way. In this chapter, we show three examples of tables that may encourage you to design new table structures for your purposes.

Custom table formats can simplify the process of creating and maintaining some types of tests. So feel free to invent a table structure that suits your needs. One aspect of the power of Fit is that it provides a very general approach to using tables for testing. It is not difficult for programmers to create custom fixtures for custom table formats. ...

Get Fit for Developing Software: Framework for Integrated Tests now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.