Thursday, 15 July 2010

unit testing - Grails: Groovy:unable to resolve class grails.test.mixin.TestFor -



unit testing - Grails: Groovy:unable to resolve class grails.test.mixin.TestFor -

i'm newbie in grails.

in unit tests generated automatically grails, there import grails.test.mixin

import grails.test.mixin.testfor

however, sts complains on groovy:unable resolve class grails.test.mixin.testfor class defined, , how should resolve this?

thanks

as sérgio michels suggests, run refresh dependencies on project. if doesn't work, run project -> clean... on project.

also, create sure using compatible version of grails (ie- version 2.0 or later).

unit-testing grails sts-springsourcetoolsuite

No comments:

Post a Comment