UnitTesting - Using AsUnit, how to "inject" proper dependancies when running tests?
Support Staff2 Posted by Joel Hooks on 29 Nov, 2009 03:43 AM
You are on the right track Jos. You want to unit test your classes outside of the framework (in isolation), so manually providing the dependencies is the way to go. Otherwise you'd need to set up the injection rules in your tests, which would be just as verbose (and in the realm of integration testing, imo).