spock icon indicating copy to clipboard operation
spock copied to clipboard

Refactoring runStatus processing.

Open Fuud opened this issue 10 years ago • 0 comments

This pull-request based on #558.

Main idea is to make failure handling more explicit and keep abort logic and execution logiс together.

Instead of maintaining runStatus field, InvokeException is thrown and handled on top of current scope. And now it is easy to understand that failures in iterations does not affect each other and do not abort feature execution.

This PR is preparation for adding retry logic: instead immediately failure registration, failures can be collected and registered only when all attempts will fail.


This change is Reviewable

Fuud avatar Dec 12 '15 14:12 Fuud