Apex Assertions Should Include Message
Impact area
Manageability
Severity
Medium
Affected element
Apex Class
Rule ID
SF-ASSERT-MSG
Impact
Increase the effort needed to debug the test failure and decrease the readability of test output.
Remediation
Add a message that provides more information to the assertion
Time to fix
10 min
References
This rule is linked to ApexAssertionsShouldIncludeMessage