cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Huang <>
Subject [TIPS] Writing unit tests with Spring injection...
Date Tue, 07 May 2013 03:26:15 GMT
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 configuration within
the Java class.  It mainly got rid of the xml file if you don't want to use it.

I've updated the wiki[1].  Please have a read.


View raw message