Posted on Feb 29, 2012 by
Grumpy Cat
When a TestRule swallows an exception thrown from a test method, the test will nevertheless be reported as failed by Spock. We should change this so that it behaves like in JUnit.
Comment #1
Posted on Oct 4, 2012 by Grumpy Cat(No comment was entered for this change.)
Comment #2
Posted on Mar 15, 2013 by Grumpy CatAnother difference is that with Spock, base.evaluate()
will not throw an exception even if the test method did. This means that TestWatcher
rules won't work correctly.
Comment #3
Posted on Jul 19, 2013 by Helpful KangarooIs there any workaround for this one? Or just use deprecated MethodRules?
Comment #4
Posted on Mar 1, 2015 by Grumpy Cat(No comment was entered for this change.)
Status: Accepted
Labels:
Type-Enhancement
Module-Core
Milestone-1.1