Doing your own processing before and/or after a fixture has done its workRather than overriding implementation-specific methods (such as doTable()) in Fit or FitLibrary, use the methods setUp() and tearDown().
Fixture objects of class DoFixture (and subclasses) call these two methods. Consider first a DoFixture that's running a single table. Such a fixture could be introduced in the middle of flow-style, or it could be introduced with an explicit fixture class name in core-style. In this case:
- setUp() is called before the fixture object processes the table
- tearDown() is called after the fixture object has finished processing the table
- setUp() is called before the fixture object processes any of the tables
- tearDown() is called after the fixture object has finished processing all of the tables (or after it is prematurely stopped)
Add Child Page to SetUpTearDown