Fix: Cucumber won't start though cucumber.yml is correct
This is for you if you get this error:
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:
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.