Activity Forums Salesforce® Discussions What is mock and a stub in Salesforce?

  • Ratnesh

    Member
    February 26, 2020 at 2:14 pm

    Mocks and stubs are more advanced topics in the realm of unit testing. However, they're incredibly useful for making tests easier to write, understand, and maintain. They also insulate the code you're testing from changes to other parts of your code base.

  • Aditya

    Member
    February 26, 2020 at 3:33 pm

    Hi Anjali,

    Mocks and stubs are more advanced topics in the realm of unit testing. However, they're incredibly useful for making tests easier to write, understand, and maintain. They also insulate the code you're testing from changes to other parts of your code base.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos