Chapter 29. Custom Table Fixtures
We now introduce the fixtures for the tables in Chapter 11. In that chapter, we argued that it can be valuable to develop custom Fit tables to be expressive for specific types of tests. In general, we’d expect that the effort involved in developing the fixture would be more than made up for in the reduced effort required in developing and maintaining the tests.
The first example table, for a business form, makes use of a TableFixture
. The second example table, using graphics to test associations, makes use of a DoFixture
. The third example table, using images to test a board game, makes use of an ImageFixture
.
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.