unclebob/fitnesse — pull request #49 by ugur-zongur (2011-10-28 21:53:19+00:00)
Title: Custom fixture loader ability

Fitnesse's way of creating the fixture instances can be customized with this change. Old way was creating instances in a fixed way, i.e. calling its no arg constructor, which wasn't suitable for utilizing frameworks such as Guice. Now an arbitrary fixture loader (a class which implements the newly added FixtureLoaderInterface) can be used by setting "fit.FixtureLoader" system property (e.g. with JVM parameter -Dfit,FixtureLoader=CustomFixtureLoaderClass). The original behavior is not affected with this change. If no arguments is set, Fitnesse uses the default fixture loader. I have done the change so that no other class in the repo is affected.

Need for this change has emerged, when we needed to use Guice framework in my company for its depencency injection and aspect oriented abilities. I will commit a Guice plugin in a short term.

Best Regards
Ugur Zongur