Details
Description
The only time the story fails is if the final example parameterised scenario fails. I'll try and work on a test case/patch...
Activity
Mauro Talevi
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Mauro Talevi [ maurotalevi ] | |
Fix Version/s | 4.0 [ 18486 ] |
Mauro Talevi
made changes -
Status | Open [ 1 ] | In Progress [ 3 ] |
Mauro Talevi
made changes -
Summary | Story succeeds even though a parameterised scenario fails | FailingUponPendingStep strategy not honoured |
Affects Version/s | 4.0 [ 18486 ] | |
Affects Version/s | 4.x [ 18279 ] |
Mauro Talevi
made changes -
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
This is happening because PerformableTree.performCancellable(RunContext, Story) checks context.failureOccurred() which looks at the context State. If the final example succeeded, this state is FineSoFar, even though previous examples failed.
I'm afraid I don't know enough to patch this one myself