Blog

08 May, 2009

Grails converters not available in unit testing

Posted by: admin In: Programming

Bah, can’t believe that it took me that long to figure it out. Apparently you need to have the Grails application context up and running in order to use convertes (as XML / JSON) in your unit tests. After moving my test from the unit test folder over into the integration test folder it worked like a charm. Well, I’ve wasted time and blogged about it so you won’t have to repeat the mistake. Cheers!

No Responses to "Grails converters not available in unit testing"

Comment Form