O'Reilly logo

Fit for Developing Software: Framework for Integrated Tests by Ward Cunningham, Rick Mugridge

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

29.1 Business Forms

As we saw in Section 11.1 on p. 81, having a test that is similar in structure ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required