Activity › Forums › Salesforce® Discussions › What is the use of test.isrunningtest() in test class in Salesforce? Salesforce® Discussions What is the use of test.isrunningtest() in test class in Salesforce? Posted by Anuj on April 7, 2020 at 1:40 PM What is the use of test.isrunningtest() in test class in Salesforce? Anuj replied 6 years, 1 month ago 1 Member · 0 Replies 0 Replies Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me