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
Add error reason for test failing in growl notifications #530
Comments
the messages can get pretty massive though that's the problem |
Hi, I would ideally like just the error, not the full stack trace. Any suggestions? |
what we could do is truncate the msg if it's too long, for example object comparisons might be really large, I'd be fine with that, we can just trail with … |
Yer that sounds fair. If you look at this error:
the relevant part that would allow me to jump to that file immediately without looking at the console would be:
You could perhaps truncate the above? |
+1 |
A Growl reporter could be pretty sweet. Or some kind of hook. |
I think it already does Growl but I'd argue it should be removed from core and available as a plugin. Hoping to have some solid time to work on the plugin API in the coming weeks. But, yes, a truncated failure report would be nice. |
Issue has been inactive for years, closing. |
Hi I use mocha extensively throughout my node application and have it watching my directory to ensure that code is working as expected. It would be great if my growl notifications could display the reason for a failed test as well. If this is not a priority could u refer me to where I can perhaps learn how to implement this myself? Thanks.
The text was updated successfully, but these errors were encountered: