We don't use rake in our projects and we want to run cucumber directly or via bundle exec. I added support for a custom execution command:
(defcustom feature-cucumber-command
"rake cucumber CUCUMBER_OPTS=\"{options}\" FEATURE=\" {feature}\""
"set this variable to the command, which should be used to execute cucumber scenarios."
I left rake as the default, so nothing should change for current users but it's now possible to specify a different execution command like so:
I had to add the variable feature-default-directory to get the rake execution working for feature-verify-all-scenarios-in-project so that it passes features as the FEATURE="" argument, which in turns runs everything.
We don't use rake in our projects and we want to run cucumber directly or via bundle exec. I added support for a custom execution command:
I left rake as the default, so nothing should change for current users but it's now possible to specify a different execution command like so:
I had to add the variable
feature-default-directory
to get the rake execution working forfeature-verify-all-scenarios-in-project
so that it passes features as the FEATURE="" argument, which in turns runs everything.Cheers, -- Yves