For my feature tests, exception handling is always turned on - usually for exceptional behaviour I want to know how the framework is responding.
During TDD, I will temporarily disable exception handling to understand an unexpected exception.
Summer Sale! All accounts are 50% off this week.
That's the question.
I mostly write tests with exception handling turned on. This is the default and works nice with validation exceptions (which you can check using assertions).
However, since code and tests (which is also code) often contain errors during development I run into situations where I have to turn off exception handling to see the actual underlying error.
My question is, do you use with- or without exception handling? If using with exception handling, how do you handle bug situations?
Please or to participate in this conversation.