Open GoogleCodeExporter opened 8 years ago
It would make more sense to me to override the interactions defined in the
setup method within the setup/given block
Original comment by Alessand...@gmail.com
on 20 Nov 2012 at 4:52
I completely agree with this change. Just like in junit any changes I make to
mocks or global variables are overridden in an individual test. I found it very
confusing when I would change the behavior in an individual tests setup block
to find out it is ignored. The specification setup should be to setup the base
line for all tests. Then each individual test should be able to change behavior
as it sees fit.
Original comment by Chef098
on 5 Jul 2013 at 2:35
+1 This change also makes easier to migrate from testng or junit to Spock, as
it is the default behaviour on these frameworks.
Original comment by fsa...@gmail.com
on 16 Jul 2015 at 5:35
Original issue reported on code.google.com by
frederic...@gmail.com
on 13 Sep 2011 at 11:08