Activity Forums Salesforce® Discussions For writing mock test class for an apex class is it necessary to write a test class also or not?

  • For writing mock test class for an apex class is it necessary to write a test class also or not?

    Posted by Deepak on September 17, 2019 at 2:14 pm

    For writing mock test class for an apex class is it necessary to write a test class also or not?

    Piyush replied 5 years, 3 months ago 2 Members · 1 Reply
  • 1 Reply
  • Piyush

    Member
    September 18, 2019 at 3:31 am

    Hi,

    Yes, It is necessary to write a test class also where you can call the Mock class.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos