Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rake cucumber does not work as "0 scenarios" #1083

Closed
junaruga opened this issue Feb 18, 2017 · 7 comments
Closed

rake cucumber does not work as "0 scenarios" #1083

junaruga opened this issue Feb 18, 2017 · 7 comments

Comments

@junaruga
Copy link
Contributor

Summary

Seeing https://travis-ci.org/cucumber/cucumber-ruby/builds

After this commit 5f811ce , all the cucumber tests are skipped as "0 scenarios".

Expected Behavior

cucumber tests work.

Current Behavior

My local environment

$ bundle exec rake cucumber
/usr/local/ruby-2.4.0/bin/ruby -S bundle exec cucumber


0 scenarios
0 steps
0m0.000s

Travis

Also same issue in Travis.

Look this. All the Ruby versions's builds have "0 scenarios".
https://travis-ci.org/cucumber/cucumber-ruby/builds/201999195

Possible Solution

I have no idea right now.

Steps to Reproduce (for bugs)

$ bundle exec rake cucumber

Context & Motivation

Your Environment

  • Version used: ruby 2.4.0
  • Operating System and version: Fedora 24
  • Link to your project:
@junaruga
Copy link
Contributor Author

I think this issue is urgent, isn't it?

@brasmusson
Copy link
Contributor

It's a false positive. #1054 is dependent on cucumber/cucumber-ruby-core#116, but the cucumber-ruby-core change was merged 10 minutes after the cucumber-ruby change. Look at the Travis jobs after I've restarted them.

@junaruga
Copy link
Contributor Author

@brasmusson
Your travis job's Ruby 2.4.0 is still 0 scenarios. Is this false positive?
https://travis-ci.org/cucumber/cucumber-ruby/jobs/202000363

@brasmusson
Copy link
Contributor

Your travis job's Ruby 2.4.0 is still 0 scenarios. Is this false positive?
https://travis-ci.org/cucumber/cucumber-ruby/jobs/202000363

@junaruga When I follow the link I see:

207 scenarios (11 failed, 196 passed)
1217 steps (11 failed, 6 skipped, 1200 passed)
1m10.102s

Yes, it is a false positive, until you find a job that both has 0 Scenarios and under the bundle install writes Using cucumber-core 2.0.0 from https://github.com/cucumber/cucumber-ruby-core.git (at master@1dcf049) (which is when cucumber/cucumber-ruby-core#116 is included)

@junaruga
Copy link
Contributor Author

Your travis job's Ruby 2.4.0 is still 0 scenarios

This was my mistake. Maybe. I must see wrong Travis job.

Yes it is the result that you mentioned above now for Ruby 2.4.0 too.
OK, thanks for your explanation.

@mattwynne
Copy link
Member

My bad, I did the merges in the wrong order after testing it locally.

This could confuse others too. Note that until we do a release of core, you'll need an up-to-date copy of that project locally to avoid seeing this result when working on the main cucumber gem.

@lock
Copy link

lock bot commented Oct 25, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants