Read more

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

Arne Hartherz
January 05, 2012Software engineer at makandra GmbH

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.
Illustration UI/UX Design

UI/UX Design by makandra brand

We make sure that your target audience has the best possible experience with your digital product. You get:

  • Design tailored to your audience
  • Proven processes customized to your needs
  • An expert team of experienced designers
Read more Show archive.org snapshot

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.

Posted by Arne Hartherz to makandra dev (2012-01-05 18:04)