Search code examples
rubycucumberparallel-testing

Parallel Cucumber Report


I'm trying to get Parallel_Cucumber to save a report once my tests are complete. I've followed the docs and added the following to my cucumber.yml:

parallel:   --format html --out report<%= ENV['TEST_ENV_NUMBER']%>.html

I'm getting no report from it.

Is there something I'm missing. Do I need to add something to my command line when running the test? So far I'm using:

parallel_cucumber features/ -n 8 -o "-r features"

Solution

  • You are not running the parallel profile added to cucumber.yml. Add -p parallel to your command as:

    parallel_cucumber features/ -n 8 -o "-r features" -p parallel