Michael,

 

We have the majority of our application being tested by Canoo, with all
Groovy based tests.

 

Some of the pitfalls have to do with there being little documentation
around Groovy usage in the Canoo documentation. At times, it has been
trial and error translating the XML-based documentation to the Groovy
implementation. Also, it has been frustrating the way the Canoo plugin
for Grails runs the Canoo tests.

 

Overall, though, Groovy has allowed us to write a very robust test suite
with very little code duplication, and keep our tests clean.

 

We have had some challenges with controlling the order our tests within
a test suite run, and have not been successful with any of the
suggestions provided to us to date. It seems to have to do with the way
the tests are run as part of Grails test-app. In addition, the tendancy
of the plugin to report that tests succeed after they hit a runtime
exception and actually fail (rather than failing a test step per se) is
troubling. I have made some minor modifications to the plugin to attempt
to address some of our issues, but not these ones, yet. I'd love to see
the Grails plugin updated as well, as it is now more than a year old.

 

Erica Wieland

SRA International Inc.

Reply via email to