Thanks Željko, but I knew about that. Sorry, but I formed my question not
in right way.
cucumber -f rerun statement will create only list of failed test cases, but
I need to be able to configure that process, for example add initialization
step (e.g. login into app) to that list.
Proposed
Since this is purely cucumber question, you will get better support at
their mailing list. It is hard to give advice without seeing more of the
code. Ideally, every scenario is a world for itself, and knows how to set
up everything needed for it to run (logging in, for example). If you set up