unclebob/fitnesse — pull request #122 by duckweed (2012-08-16 04:23:30+00:00)
Title: Fixture Interaction - Wrap you calls to the SUT and find stuff out.

We use Fitnesse a lot, and havce found our tests are getting slower. We needed to have some ways to control Fitnesses behaviour to help us see whats taking time.

There were 3 things we wanted:

1. A log of all fixtures we actually use, and their method entry points.
2. A log of how long these take.
3. A way of running the tests quickly to see whether the Fitnesse wiki code itself is well-formed with respect to fixtures and methods, and Table construction.

Now you can extend fitnesse.slim.fixtureInteraction.FixtureInteraction, change the behaviour and pass this in to Slim.

I have included several of these Plugins:

1. DefaultInteraction - This does what Fitnesse used to do. You can extend this modify running tests.
2. LoggingInteraction - This writes out instance creations, methods and run times to System.out.
3. MockingInteraction - This prevents calls to the SUT, and will give you an idea of the impact Fitnesse itself is having on your tests, based on the difference in run times between full tests, and the mocking test.