Closed GoogleCodeExporter closed 8 years ago
[deleted comment]
This sounds like a Grails related problem to me. Can you check if the same
problem exists with JUnit 4? Also make sure not to use any of the Spock
provided base classes anymore.
Original comment by pnied...@gmail.com
on 4 Apr 2012 at 1:59
This won't be fixed in TagLibSpec.
Please read
http://grails.org/doc/latest/guide/testing.html#unitTestingTagLibraries
The approach for Grails 2 with regard to unit testing has changed dramatically.
Spock supports the same @TestFor and @Mock annotations that you see in the
examples there. These are now part of core Grails and will do a better job than
the old TagLibSpec.
Original comment by lda...@gmail.com
on 15 Apr 2012 at 11:37
Original issue reported on code.google.com by
mario.g...@gmail.com
on 4 Apr 2012 at 8:28