The moose likes Groovy and the fly likes Groovy and TDD Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Other Languages » Groovy
Reply Bookmark "Groovy and TDD" Watch "Groovy and TDD" New topic
Author

Groovy and TDD

Jeff Langr
author
Ranch Hand

Joined: May 14, 2003
Posts: 753
I note that the book contains a chapter on unit testing and mocking in Groovy. I'm curious about the experiences of the authors and others doing either TDD or simple unit testing with Groovy.

Jeff


Author, Agile Java, Essential Java Style. Agile in a Flash. Contributor, Clean Code.
Venkat Subramaniam
Author
Ranch Hand

Joined: Jan 28, 2008
Posts: 79
Not only is unit testing important in Groovy, it also helps with it significantly. I think this is also an area that is great on projects to introduced Groovy. You can test Java code and also test Groovy code. You can take advantage of exiting mock framework in Java or take advantage of the mocking capabilities in Groovy. I am a huge fan of TDD and Groovy is a great language for practicing TDD.
Jeff Langr
author
Ranch Hand

Joined: May 14, 2003
Posts: 753
Thanks Venkat!
 
 
subject: Groovy and TDD
 
developer file tools