An Apex class does not achieve expected code coverage. The testSetup method explicitly calls a method in the Apex class. How can the developer generate the code coverage?
No, Sandip, you're wrong. When an Apex class is invoked in testsetup, it increases coverage. Though I agree that a function which needs to be tested should be invoked from a @IsTest method.. anyway C doesn't matter.
upvoted 1 times
...
...
...
Log in to Pass4Success
Sign in:
Report Comment
Is the comment made by USERNAME spam or abusive?
Commenting
In order to participate in the comments you need to be logged-in.
You can sign-up or
login
Sandip Mondal
8 months agoSandip Mondal
8 months agoMike Kang
7 months ago