-
Queries Related To Apex Test Class
I have a few queries related to test class in general
1. What does running a test class in system mode mean?
Does it mean running the test class in the context of the current user and is that same as saying :
System.runAs(new User((Id=UserInfo.getUserId()) ))2. what does test.startTest() and test.endTest() means.
Log In to reply.
Popular Salesforce Blogs
Salesforce for Energy and Utility Sector for Adapting to New Customer Expectations
Energy and utility companies are known to have contingency plans to remain stable in any uncertain situation. And that’s where digitization has helped such companies…
Salesforce Code Builder is Officially Released
Salesforce Code Builder has been officially released and is now generally available, offering a new web-based integrated development environment (IDE) that seamlessly incorporates open, modern,…
Salesforce Visualforce Vs Salesforce Lightning Component
Visualforce On the server-side a strong set of tags solved in Visualforce. The visualforce framework is called a center page internet application type. Since the…
Popular Salesforce Videos
Create Custom Object and Tabs in Salesforce Lightning Experience
In this video, Sanjay Gupta Tech School explains how to create custom objects and tabs in Salesforce Lightning Experience. Watch this video and learn all…
Transition to Salesforce Lightning Experience
Transition to Salesforce Lightning Experience for Overall Navigation, Global Search, Home Page, Accounts, Leads and Opportunities. This video walks you through the recommended process, including…
Set Your Sales Cloud Implementation Up for Success
Make Sales Cloud a valued business tool that your sales reps will rely on by starting with these planning strategies and best practices for success.…