Draft of Presentation Slides and Labs for Upcoming Selenium/Grails Talk at Sacramento Groovy Users Group
I will be presenting on the topic of Automating Selenium Browser-Based Testing For Grails Applications at the next meeting of the Sacramento Groovy Users Group (November 18, 2009). Links to the power point, and a flash version of the presentation are available . Read the rest of this entry »
Selenium Testing Grails Apps In Continuous Integration Using the grails-selenium-rc Plug-in
In our previous posts we published a Maven-based solution that illustrated how to get Selenium tests running against a Grails application completely from the command line (thus enabling these tests to run in the context of a continuous integration build.) Robert Fletcher has been working on a Grails selenium plug-in that promises to do the same thing as what I previously presented with much less configuration Read the rest of this entry »
A 99% Successful Attempt to Get Selenium Tests Running in Continuous Integration using Maven and Cargo
A colleague and I have been trying to create a build procedure that runs Selenium tests against a Grails application. Our end goal is to ensure that we can test our app’s Ajax functionality using our target browser in a continuous integration environment. [[ UPDATE - we have achieved success, please see mailing list reference]] Read the rest of this entry »
I Will Use Grails mockDomain or Die Trying
As part of my effort to ramp up my Grails productivity I have been trying to get better at using the framework’s new domain mocking feature. Simply stated, what this new Grails 1.1 feature enables you to do is test the persistence and validation behavior of your domain classes without the overhead of spinning up a container. I like to run my tests constantly as I write code as this gives me early feedback when I screw something up. Domain mocking really helps in this regard.
In trying to get mockDomain to work I’ve had to deal with a number of snags, but I’m finally seeing some light at the end of the tunnel. Hopefully this blog entry will help you avoid getting caught on some of the rough edges Read the rest of this entry »
