New answers tagged unit-tests
I think the answer to your question depends on what the exception text string is going to be used for. Is it part of the documented interface for that class? If some other part of the program is going to use it (say to pass that error message back to the person entering the data), and/or it's part of the documented interface, then you absolutely need to ...
Top 50 recent answers are included