1 line
252 B
Plaintext
1 line
252 B
Plaintext
It is not good enough to test if an exception is raised, without checking which exception it is. Such tests will not be able to differentiate the expected exception from an unexpected one. They should instead validate the exception message and/or type. |