Alex,
The reasons as far as I can tell:
ConfigurationManagerImpl is the class under test. Unfortunately it depends on a
dozon of DAOs/managers, which are not added as Mocks but real impls and they
have further cascading dependencies.
Currently not all of required dependencies are added to mock
iday, August 10, 2012 2:25 AM
> To: cloudstack-dev@incubator.apache.org
> Subject: [Discuss] Unit test style
>
> Hi, Folks
>
> I'm about to write some unit tests for what I have committed. However it
> seems a little bit heavy weight if I follow the guide
> http://wiki
Hi, Folks
I'm about to write some unit tests for what I have committed. However it seems
a little bit heavy weight if I follow the guide
http://wiki.cloudstack.org/display/COMM/Unit+Testing+101
1) About IoC, I had to inject all dependent DAOs/Managers for the class under
test, even if I want t