• Home
  • Blog
  • Wiki
  • Projects
  • Contact Us






Archive for April, 2009

I Will Use Grails mockDomain or Die Trying

April 20th, 2009 By admin

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 »

Posted in Grails, Groovy, Test Automation | 2 Comments »

Wish List: Running Grails and Groovy from the Maven Repository.

April 9th, 2009 By admin

The Need For A Separately Installed Grails Instance Outside of the Maven Repo

I recently began using the excellent maven-grails plugin, and It works quite well.

The documentation for the plugin suggests that “you should unset the GRAILS_HOME environment variable when running Maven with a Grails project. This is because you no longer need to install Grails separately to use it with Maven!” True enough. But currently when you are not using Maven to run Grails you can’t do without the GRAILS_HOME setting and installations of Groovy and Grails outside of your local Maven repository. Read the rest of this entry »

Posted in Grails, Groovy, Maven | 2 Comments »

  • Categories

    • Build Automation
      • Maven
    • Development Environment Tricks
      • Cygwin
    • Dynamic Languages
      • Groovy
        • Grails
    • Java
    • JQuery
    • Test Automation
      • Selenium
    • Uncategorized

  • Archives

    • June 2010
    • March 2010
    • January 2010
    • December 2009
    • November 2009
    • October 2009
    • September 2009
    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
  • Meta

    • Log in
    • RSS
    • Comments RSS
    • Valid XHTML
    • XFN
    • WP