RE: [TIPS] Writing unit tests with Spring injection...

2013-05-06 Thread Prachi Damle
+1! Thanks for removing the need of 3 files per test! -Original Message- From: Alex Huang [mailto:alex.hu...@citrix.com] Sent: Monday, May 06, 2013 8:26 PM To: dev@cloudstack.apache.org Subject: [TIPS] Writing unit tests with Spring injection... I made an improvement to how we write our

[TIPS] Writing unit tests with Spring injection...

2013-05-06 Thread Alex Huang
I made an improvement to how we write our unit tests. Before this change, you needed to have three files for every unit test: 1. The unit test itself 2. The xml configuration 3. The java test configuration With this change, you only need the unit test and you can specify the test configur