Posted almost 6 years ago. Visible to the public.

Fix: Cucumber won't start though cucumber.yml is correct

This is for you if you get this error:

Copy
cucumber.yml was found, but could not be parsed. Please refer to cucumber's documentation on correct profile usage.

Actually, it's likely that your cucumber.yml is just fine but not your rerun.txt.\
This sometimes happens when running multiple Cucumber workers with parallel_tests that write into rerun.txt simultaneously – ending up with a messy, invalid file.

Just remove it and you are good to go again:

Copy
rm rerun.txt

Another possible solution is to have one rerun file per worker for which you'd need to modify your cucumber.yml accordingly.

Growing Rails Applications in Practice
Check out our new e-book:
Learn to structure large Ruby on Rails codebases with the tools you already know and love.

Author of this card:

Avatar
Arne Hartherz
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Arne Hartherz to makandropedia