cucumber/cucumber — pull request #650 by christopher-rex (2014-03-12 11:33:24+00:00)
Title: [Christopher] FIX: If background fails, rerun just runs the first scenario and skips other scenarios

On a feature execution, if the background fails, the rerun.txt file records the feature along with the line number of first scenario. Consequently during rerun only this scenario runs and all other scenarios in the feature file are ignored.

The fix is to capture just the feature file name WITHOUT any line numbers in rerun.txt. This results in rerunning the entire feature file with all scenarios.