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

Showing error classes #92

Closed
iain opened this Issue Jul 24, 2010 · 5 comments

Comments

Projects
None yet
2 participants
Contributor

iain commented Jul 24, 2010

It would be very nice if error output would show the class of the exception thrown. That would help a lot in tracing bugs.

Owner

dchelimsky commented Jul 25, 2010

I can see showing the classname, but value do you get from the failure/error distinction?

Contributor

iain commented Jul 25, 2010

The failure/error distinction comes a bit out of the first. I was figuring that you don't want to show ExpectationNotMetError, because it's obvious in it's description, you just want to provide the clean message like we're seeing now.

I'd think it would give a bit cleaner output, that's all. It's just nice to have.

Owner

dchelimsky commented Jul 25, 2010

Would you please post a separate issue for the E/F distinction. Though related, these are two separate requests.

Owner

dchelimsky commented Jan 1, 2011

Show exception classes in failures unless they come from rspec matchers
or message expectations.

@timcharper timcharper pushed a commit to timcharper/rspec-core that referenced this issue Aug 19, 2011

@dchelimsky dchelimsky Show exception classes in failures unless they come from rspec matchers
or message expectations.

- Closes #92.
8393a46

This issue was closed.

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