3 lines
316 B
Plaintext
3 lines
316 B
Plaintext
![]() |
It should be clear to a casual reader what code a test is testing and what results are expected. Unfortunately, that's not usually the case with the `ExpectedException` attribute since an exception could be thrown from almost any line in the method.
|
||
|
|
||
|
This rule detects MSTest and NUnit `ExpectedException` attribute.
|