Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Fix Cucumber::Undefined #415

Closed
wants to merge 1 commit into from
Closed

Conversation

bvicenzo
Copy link

Hi, I and my team friends were having problems with cucumber syntax checker.
'Cause it always showed warns about errors and the command line showed "Cucumber::Undefined".

I believe that I fixed it.

Congratz for this excelent plugin!

Tanks,
Bruno Vicenzo.

@duhanebel
Copy link

I'm not sure it's directly related, but looking at cucumber's documentation seems that --dry-run can't be use for proper syntax check:
-d : Invokes formatters without executing the steps. This also omits the loading of your support/env.rb file if it exists.
Which means it will always complain for any step defined on a gem or locally to the project.

@sequethin
Copy link

duhanebel is right, --dry-run produces warnings every time for me, removing it works fine.

@duhanebel
Copy link

That way you run the full tests, which is kind of impractical for long ones.

/FAb

On 5 May 2013, at 20:43, Michael Hernandez notifications@github.com wrote:

duhanebel is right, --dry-run produces warnings every time for me, removing
it works fine.


Reply to this email directly or view it on
GitHubhttps://github.com//pull/415#issuecomment-17457679
.

@jondkinney
Copy link

I think this is a -r features issue for config/cucumber.yml. See my comment here: tpope/vim-cucumber#30

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants