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

Nested steps in backtraces #69

Closed
technomage opened this issue May 30, 2011 · 6 comments
Closed

Nested steps in backtraces #69

technomage opened this issue May 30, 2011 · 6 comments
Assignees
Milestone

Comments

@technomage
Copy link

In current backtraces only the top level step definition is being shown. When a step invokes another step using the When, Then, or Given methods, the invoking steps are being stripped from the backtrace, when they are the more interesting part of the backtrace on many occasions. All step definitions and line numbers should be present in the backtrace.

@mattwynne
Copy link
Member

Could you please write a feature for this? It's much more likely to be implemented if we can start with a failing feature.

Just fork cucumber, add a new file called features/nested_steps_in_backtraces.feature and describe the behaviour you want. Then send us a pull request.

@austinthecoder
Copy link

This seems like a bug rather than a feature request. See my pull request: cucumber/common#160

@leifg
Copy link

leifg commented Dec 19, 2011

What's the status on this, I would really like to see nested steps in my output

@austinthecoder
Copy link

I did exactly what @mattwynne requested above and submitted a pull request. @aslakhellesoy closed my pull request and said "I'm closing this since there is no fix attached. Feel free to send a new pull request with a fix."

Seems like the maintainers need to get on the same page.

@mattwynne
Copy link
Member

I'm grateful for the pull request with a failing feature, but I'm afraid I personally haven't had time to even consider looking at this. I have a lot of other things to do with my time. Having a feature that describes the outcome we want is the first step, the next step is finding someone with the time to make it pass.

Would anyone like to volunteer? I can provide them with support, but I don't have time to hack on it myself.

@ghost ghost assigned tooky Mar 17, 2013
@tooky tooky closed this as completed in 1aa2078 Mar 26, 2013
mattwynne added a commit that referenced this issue Feb 13, 2015
@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

5 participants