tag:robotlegs.tenderapp.com,2009-10-18:/discussions/questions/14-unittesting-using-asunit-how-to-inject-proper-dependancies-when-running-testsRobotlegs: Discussion 2018-10-18T16:35:06Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/6458122009-11-29T03:43:52Z2009-11-29T03:43:52ZUnitTesting - Using AsUnit, how to "inject" proper dependancies when running tests?<div><p>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).</p></div>Joel Hookstag:robotlegs.tenderapp.com,2009-10-18:Comment/6458122009-11-29T03:52:47Z2009-11-29T03:52:47ZUnitTesting - Using AsUnit, how to "inject" proper dependancies when running tests?<div><p>Ok, great, that's very straight forward.</p>
<p>Thanks again,<br>
jos</p></div>Jos Yule