Closed GoogleCodeExporter closed 8 years ago
Original comment by pnied...@gmail.com
on 19 Jan 2012 at 2:24
You could write your own JUnit rule or Spock extension for that.
Original comment by pnied...@gmail.com
on 19 Jan 2012 at 2:26
That is the problem - the only way to cancel test from JUnit rule is to throw
that exception.
Where can i find some info on Spock extensions?
Original comment by scf...@googlemail.com
on 19 Jan 2012 at 2:31
Best way to learn is from the source code. Have a look at the extensions in
org.spockframework.runtime.extension.builtin. Note that the extension SPI isn't
stable, i.e. there will be breaking changes.
Original comment by pnied...@gmail.com
on 19 Jan 2012 at 2:37
I agree that we should handle AssumptionViolatedException for the sake of
better JUnit compatibility.
Original comment by pnied...@gmail.com
on 19 Jan 2012 at 6:08
Original comment by pnied...@gmail.com
on 17 Feb 2012 at 3:06
Original comment by pnied...@gmail.com
on 24 Feb 2012 at 7:33
Original issue reported on code.google.com by
scf...@googlemail.com
on 19 Jan 2012 at 1:55