Open GoogleCodeExporter opened 9 years ago
Original comment by pnied...@gmail.com
on 11 Aug 2010 at 10:44
Original comment by lda...@gmail.com
on 4 Dec 2010 at 11:53
Original comment by lda...@gmail.com
on 7 Dec 2010 at 12:10
Still a problem with Grails 2.0?
Original comment by pnied...@gmail.com
on 20 Feb 2012 at 12:22
Not sure if this is still relevant, moving to next milestone.
Original comment by pnied...@gmail.com
on 4 Oct 2012 at 6:39
Still relevant to Grails 2.2.0 and test(":spock:0.7") { exclude
"spock-grails-support" }
Original comment by fsalexm...@gmail.com
on 1 Mar 2013 at 1:33
Are you saying that you are using UnitSpec together with Grails 2.2? Base
classes like UnitSpec are only meant for use with Grails 1.x.
Original comment by pnied...@gmail.com
on 1 Mar 2013 at 1:54
That's a surprise for me, it's user all over across our app and it's not marked
as @Derprecated
How should we mock domain classes in Spock unit-tests then?
Original comment by fsalexm...@gmail.com
on 1 Mar 2013 at 1:59
The classes aren't deprecated because the plugin is designed to work both for
Grails 1.x and 2.x. From the plugin documentation
(http://grails.org/plugin/spock):
Unit Testing with Grails 2.0
Grails 2 introduced brand new unit test support based on mixins instead of
testing super classes. These mixins, are fully compatible with Spock! This
means that you use exactly the same approach as outlined in the Grails User
Guide on Unit Testing. You should always extend spock.lang.Specification in
your spock-grails unit tests, just like regular Spock tests.
Original comment by pnied...@gmail.com
on 1 Mar 2013 at 2:02
Original comment by pnied...@gmail.com
on 1 Mar 2015 at 11:45
Original issue reported on code.google.com by
lda...@gmail.com
on 28 Jul 2010 at 7:25