-
When to use Test.isRunningTest() in Salesforce Apex Class?
Hi All,
When to use Test.isRunningTest() in Salesforce Apex Class? Does it come under best practices?
Thanks
Log In to reply.
Popular Salesforce Blogs

How Salesforce Financial Services Cloud Solves Problems For FinTech Companies
Working in the financial services industry is not an easy-breezy thing to do. It is all about managing people’s wealth and helping them plan their lives, literally.…

What is Batch Apex in Salesforce? How to Execute Batch Apex Class?
Batch Apex In Salesforce If you want to process a large number of records every day or within a certain time interval, you may encounter…

Salesforce to Salesforce Integration Using REST API
After learning the REST API, it's always good to do some practice to make the concept more clear. In this Blog, we will Integrate Two…
Popular Salesforce Videos
Create Survey in Salesforce | #Feedback Program #Salesforce Tutorials | Mini Project
In this video you will learn : What are the surveys? Why businesses use surveys? And how you can create and send surveys using #Salesforce? …
Learn About Types of Sandboxes in Salesforce
A sandbox is a copy of your organization in a separate environment that you can use for a variety of purposes, such as testing and training.…
Process Builder or Apex Triggers - Choosing Between Salesforce Automation Tools
The Salesforce Platform offers several means to operate in the background: Process Builder, Triggers, Flow, Workflows, and more. With so many robust options, it can…