TestNG is a great tool for testing in Java, and it works even better with a little Groovy thrown in. Just lately I’ve had a lot of success using the DataProvider pattern.
A DataProvider method in TestNG can return either a two dimensional Object array or an Iterator over each of the test parameters. A consumer [...]
I’ve been asked by my friend and co-worker Manfred Moser to give a presentation at next month’s Vancouver Island Java user’s group meeting, and silly me I said yes before remembering that speaking in front of people always makes me feel quesy and light-headed. Thanks Manfred for the kind invitation; I’ll do my best to [...]
Over the last year I’ve done a lot of work with JBoss Seam, and while it’s not Grails it’s also not that bad for a web framework. Facelets is the view technology of choice, and it’s certainly better than many alternatives, but at the heart it is still xml and all those brackets make [...]
The ability to execute pretty much any bash statement embedded in a Groovy script is great, don’t get me wrong, but with the advent of Grape – and provided that you’re an Ivy/Maven user – adding the abilities of just about any Java library to your scripting language is easy.
So what does Groovy add to [...]
… means I don’t have to remember all of the available Griffon commands. My primary development platform is a Mac, so I used MacPorts to install the bash-completion package long ago.
This script is based entirely on the excellent maven completion script documented here on willcodeforbeer. It does the same job for Griffon and includes commands [...]