Discussions tagged with 'Test Method' Prachi What is @testVisible used for while testing an Apex class in Salesforce? Pantala replied 3 years, 7 months ago · 5 Members · 5 Posts Salesforce® Discussions Ratnesh What are the best practices while writing Test Classes in Salesforce? Shubham replied 5 years, 10 months ago · 2 Members · 1 Post Salesforce® Discussions Deepak How can I cover exception part in a class using test class in Salesforce? Prachi replied 6 years ago · 2 Members · 1 Post Salesforce® Discussions Prachi What is the use of @IsTest(SeeAllData=true) Annotation in Salesforce? Nikita replied 6 years, 4 months ago · 2 Members · 1 Post Salesforce® Discussions Saddam What is the use of testSetup in Salesforce? Prachi replied 6 years, 4 months ago · 5 Members · 4 Posts Salesforce® Discussions Aman Explain System.runAs() in Salesforce. shariq replied 7 years, 2 months ago · 2 Members · 1 Post Salesforce® Discussions Aman Why do we need to write test classes and how to identify if a class is a test class in Salesforce? Parul replied 7 years, 2 months ago · 3 Members · 2 Posts Salesforce® Discussions Avnish Yadav Is it important to include @isTest on Testing Method in Salesforce? Explain? Parul replied 7 years, 2 months ago · 4 Members · 3 Posts Salesforce® Discussions Prachi What is @testSetup annotation? When you will use it? Anjali replied 7 years, 2 months ago · 4 Members · 3 Posts Salesforce® Discussions chanchal kumar Why we use "System.runAs" in test class in Salesforce? shradha jain replied 7 years, 4 months ago · 2 Members · 1 Post Salesforce® Discussions Raghav Chaturvedi Test is not going inside "trigger.new" while testing Salesforce Trigger Raghav Chaturvedi replied 7 years, 7 months ago · 2 Members · 6 Posts Salesforce® Discussions Uday Why test method always static in Salesforce? Adarsh replied 7 years, 10 months ago · 2 Members · 1 Post Salesforce® Discussions Viewing 1 - 12 of 12 discussions