Activity Forums Salesforce® Discussions When do we use this test.isrunningtest() in Apex class methods?

  • Anjali

    Member
    September 10, 2020 at 6:20 am

    It is used when we need to run different code depending upon whether it was called from a test class.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos