Tuesday, June 23, 2009
How many times do you find yourself creating this code over and over again in tests or even production code? List<String> stringList = new ArrayList<String>(); stringList.add(“some test string”); stringList.add(“some other test string”); aMethodThatTakesAListOfStrings(stringList); Rather than writing this same code over and over again, there is an easier way to create a simple generic list of [...]
Posted by Tim Urberg
1 Comment »
Wednesday, June 17, 2009
At my current client I’ve been building a rather complex rich client app using ExtJs. The team has written a lot of JavaScript code, and has been writing a lot of JavaScript unit tests as well. We’ve gone through several unit testing tools along the way trying to solve some logistical problems. We started with [...]
Posted by
Comments Off
Tuesday, June 2, 2009
This is a follow on to Eclipse Setup for Grails 1.1 Development. Although not ideal Eclipse integration, by setting up a Run Configuration for your Grails project in Eclipse, you will be able to run and debug Grails integration JUnit tests within Eclipse. Here is how: Open Run Configurations Select Java Applications->New On the Main [...]
Posted by Torey Lomenda
2 Comments »