0

I have a static method written in my domain class , which I have to test in my Grails test. Now how to call that method from domain class. That static method will fetch some data from my db and will return it.

Burt Beckwith
  • 75,342
  • 5
  • 143
  • 156

1 Answers1

0

Try this link: http://docs.grails.org/latest/guide/testing.html#unitTestingDomains

You'll find plenty of useful info regarding to testing with Grails there.

Anton Hlinisty
  • 1,441
  • 1
  • 20
  • 35