An action fixture interprets tables for which the first column contains one of a small number of commands. Subsequent columns contain values interpreted by the particular command. The generic action fixture offers only four commands, but subclasses may extend this set.
Q: It seems like the actions are always in column one. Is this a requirement of the input format?
A: Actually ActionFixture supports a "tripple dispatch" where each dispatch is closer to the domain. Imagine the row:
Column 1 is about the interaction paradigm, i.e. panels, fields and buttons. Column 2 is about the particular panels, fields and buttons that the application under test supports, while Column 3 is about things that the application itself must interpret. That is what we are ultimately testing.
|Last edited March 4, 2003
Return to WelcomeVisitors