haf / expecto

A smooth testing lib for F#. APIs made for humans! Strong testing methodologies for everyone!
Apache License 2.0
663 stars 96 forks source link

Recursively print inner exceptions by default #348

Closed cmeeren closed 4 years ago

cmeeren commented 4 years ago

I propose that inner exceptions are printed by default. I am running an integration test using Hopac, and this is the test results I see:

image

This message says nothing about what is wrong. The inner exceptions eventually say stuff along the lines of "server not reachable", which is helpful, but I can't see that.

Let me know if there's a simple config adjustment for this (I couldn't find any config docs and was unable and unwilling to reverse-engineer it.)

haf commented 4 years ago

Fixed with #349

cmeeren commented 4 years ago

Wonderful, thanks! 🎉

cmeeren commented 4 years ago

Would it be possible to release this on NuGet? 🙏

haf commented 4 years ago

Yes, of course. Sorry for the wait. https://www.nuget.org/packages/Expecto/8.13.0 is the newest release out now!

cmeeren commented 4 years ago

Thanks, but it doesn't seem to be fixed. I still get exactly the same result, just the "Exception raised by job" without any inner exceptions. (For good measure I deleted all bin/obj/.vs and restarted.)

haf commented 4 years ago

cc @MNie