rspec/rules/S3431/description.adoc
2024-08-09 10:58:55 +02:00

4 lines
317 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.