rspec/rules/S3431/description.adoc

4 lines
317 B
Plaintext
Raw Normal View History

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.