spock
spock copied to clipboard
Add assertion error to reports for @PendingFeature
Issue description
Test methods marked with @PendingFeature run and they are expected to fail. If they not fail they are marked as failures. In the reports those test methods are marked as "skipped" with a small notification "Pending Feature".
That is okay.
Is it however possible to additionally add the assertion error to the reports and still mark them as "skipped" and "Pending Feature"? As well as the reason from the annotation?
The assertion error is available as the test method run.
+1 this would be very useful.