Hi all I am a new one want to have some contribution for this community.
Recently, I was tracing source code and write some plugin for cloudstack. But it's very difficult for debug and testing in cloudstack environment. Because cloudstack's IoC is write by componentLocator, I cannot write unit test by something like @RunWith(SpringJunit4ClassRunner.class) Although , I have seen Unit test 101 in (http://wiki.cloudstack.org/display/COMM/Unit+Testing+101) I want to test against all or most of the components, should I do this using unit testing No. Unit testing is for specific testing to force issues to come up early. If you need to entire components.xml or components-premium.xml for your tests, what you really need is to start a server and have a predefined set of testcases run as the web client. That's not part of the unit testing. We need to develop other means to do that. Once completed, we'll make this known on this page. But it make no sense to me. While I google it , find some interest topic about unit test for cloudstack (http://collab12.cloudstack.org/schedule/presentation/8/) Is anyone can share this slide to me? Or where can I find further information? <table class="TM_EMAIL_NOTICE"><tr><td><pre> TREND MICRO EMAIL NOTICE The information contained in this email and any attachments is confidential and may be subject to copyright or other intellectual property protection. If you are not the intended recipient, you are not authorized to use or disclose this information, and we request that you notify us by reply mail or telephone and delete the original message from your mail system. </pre></td></tr></table>
