-
Testing private method in Salesforce
Why it is best practice to test private method from test class using @testVisible() annotation. Private method is called from another method of the same class, why not test by calling public method?
-
This discussion was modified 10 years, 1 month ago by
Ravi.
-
This discussion was modified 10 years, 1 month ago by
Ravi.
-
This discussion was modified 8 years, 11 months ago by
Forcetalks.
-
This discussion was modified 8 years, 11 months ago by
Forcetalks.
-
This discussion was modified 10 years, 1 month ago by
Log In to reply.