Activity › Forums › Salesforce® Discussions › What is @TestVisible in Salesforce?
-
What is @TestVisible in Salesforce?
Posted by Ratnesh on February 19, 2020 at 1:39 PMWhat is @TestVisible in Salesforce?
Sumit kumar replied 6 years, 3 months ago 4 Members · 3 Replies -
3 Replies
-
TestVisible Annotation. Use the TestVisible annotation to allow test methods to access private or protected members of another class outside the test class. These members include methods, member variables, and inner classes. … It contains the test method that accesses the annotated member variable and method.
- [adinserter block='9']
-
Use the TestVisible annotation to allow test methods to access private or protected members of another class outside the test class.
-
TestVisible Annotation. Use the TestVisible annotation to allow test methods to access private or protected members of another class outside the test class. These members include methods, member variables, and inner classes. … It contains the test method that accesses the annotated member variable and method.
Log In to reply.