Activity Forums Salesforce® Discussions What is @TestVisible in Salesforce?

  • Marziya

    Member
    February 19, 2020 at 1:41 pm

    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.

  • Anjali

    Member
    February 19, 2020 at 2:08 pm

    Use the TestVisible annotation to allow test methods to access private or protected members of another class outside the test class.

  • Sumit

    Member
    February 19, 2020 at 2:20 pm

    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.

Popular Salesforce Blogs

Popular Salesforce Videos

Salesforce Interview Questions and Answers - For Freshers and Experienced Candidates

Video in

Learn most important Salesforce Interview Questions and Answers, asked at every interview. These Interview questions will be useful to all entry-level candidates, beginners, interns, and…