Category Archives: testing

Selenium2 from Scalatest

Scalatest offers some very elegant ways to layout your tests. After using Selenium2 at work I started thinking how I could leverage the BDD-like goodness in combination with Selenium2. The combination proves to be very useful. Some basics Selenium2 offers … Continue reading

Posted in scala, testing | 2 Comments

Grails and tests – Part II: Testing dynamic taglibs using XmlSlurper

A couple of days ago I wrote my first post on TDD using Grails. Now let’s move on to something more interesting: testing dynamic taglibs. In another post I showed how to create a simple tag. Which looked like this: … Continue reading

Posted in grails, groovy, testing | 2 Comments

Grails and tests – Part I: Getting started with TDD

Writing tests for a Grails applications is really simple. In Groovy code actually compiles when non-existing methods of objects are referenced (as opposed to Java) which makes it possible exercise TDD (test driven development). Grails supports two types of tests … Continue reading

Posted in grails, groovy, testing | 2 Comments