Activity Forums Salesforce® Discussions What is Test.isRunningTest() in Apex ?

  • Deepak

    Member
    August 12, 2020 at 12:04 pm

    Test. isRunningTest() method in the Apex class, batch or trigger code is used to identify the pieces of code being executed & invoked from a Test class execution.It is used to define whether the code is executed by the Apex test class.

  • Marziya

    Member
    August 12, 2020 at 1:10 pm

    isRunningTest(): The Test. isRunningTest() method in the Apex class, batch or trigger code is used to identify the pieces of code being executed & invoked from a Test class execution.

  • Manish

    Member
    August 12, 2020 at 3:16 pm

    isRunningTest(): The Test. isRunningTest() method in the Apex class, batch or trigger code is used to identify the pieces of code being executed & invoked from a Test class execution. The Test. isRunningTest() method is used to define whether the code is executed by the Apex test class.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos