Code52/Ideastrike — pull request #68 by csainty (2012-01-26 21:54:31+00:00)
Title: Another refactor of tests

Someone made the point yesterday that the test suite was really slow. 18 tests took around 12 seconds on my system.

I got together with the Nancy boys to discuss, since the tests were all quite basic.

This is the end result of that discussion, Another refactor of the test base class.

This time we turn off "AutoRegistration" which is a part of the test bootstrapper which goes and finds possible dependencies. In its place we explicitly load all the mocks, and the one Module that the test is going to be run against.

End result is that the tests now take under a second here.