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

Already on GitHub? Sign in to your account

Cucumber tests reporting ''pending' when they fail #92

Closed
jphastings opened this Issue Feb 27, 2013 · 1 comment

Comments

Projects
None yet
1 participant

Some of my cucumber tests have multiple 'Then' sections, eg:

Then I am given a JPEG image
And it is 200px wide

In the example above I am not being given a JPEG image, the 'And it is 200px wide' step is being marked as pending, which marks the scenario as pending and sending Jenkins the JUnit XML that the test is pending and not failed.

I am executing bundle exec rake -r ci/reporter/rake/cucumber ci:setup:cucumber features from jenkins (after RVM setup and bundle install), but that is all. Am I doing something wrong or is ci_reporter incorrectly reporting the status of the scenario?

Ahhh. One of my tests is pending, but all of them are being marked as pending. This is the step_definitions thing listed in the Readme. Carry on, nothing to see here.

@jphastings jphastings closed this Feb 27, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment