[apex] ApexUnitTestClassShouldHaveAssertsRule: Support new Assert class (Apex v56.0)#4097
Conversation
|
Hi, @tprouvot. The product changes look good. You should also update |
Hi @SCWells72, Thanks for the suggestion ! |
SCWells72
left a comment
There was a problem hiding this comment.
Just a couple of small things. Also, I'm not sure if I'll have authority to approve this for merge, but I'll at least try to provide sufficient feedback so that someone who can has less work to do to get to that point.
2a22c60 to
dc03e52
Compare
SCWells72
left a comment
There was a problem hiding this comment.
I think with the one requested change here it's fine IMO.
|
@SCWells72 Thanks for the initial review! |
Generated by 🚫 Danger |
…practices/ApexUnitTestClassShouldHaveAssertsRule.java Co-authored-by: Andreas Dangel <andreas.dangel@adangel.org>
…/bestpractices/xml/ApexUnitTestClassShouldHaveAsserts.xml Co-authored-by: Andreas Dangel <andreas.dangel@adangel.org>
…tprouvot/pmd into feature/addNewClassForAssertion
…nsShouldIncludeMessage) #4097
[apex] ApexUnitTestClassShouldHaveAssertsRule: Support new Assert class (Apex v56.0) #4097
Describe the PR
Apex v56 introduced a new Assert class: https://developer.salesforce.com/docs/atlas.en-us.240.0.apexref.meta/apexref/apex_class_System_Assert.htm#apex_class_System_Assert
Related issues
Ready?
./mvnw clean verifypasses (checked automatically by github actions)