Activity Forums Salesforce® Discussions What is a seeAllData=true in test class in Salesforce?

  • What is a seeAllData=true in test class in Salesforce?

    Posted by Anuj on April 6, 2020 at 2:31 pm

    What is a seeAllData=true in test class in Salesforce?

    Udit replied 4 years ago 2 Members · 1 Reply
  • 1 Reply
  • Udit

    Member
    April 6, 2020 at 3:03 pm

    In Apex test classes every time we need to create a new set of data for your test class. But some objects we can't create a data for testing. for example Profiles. we can't create profiles in test classes. so we will query the profiles and assign to users.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos

Free 5 Day Salesforce Challenge!

Video in

To access the signup form head over to www.talentstacker.com/Salesforce TalentStacker Podcast Salesforce Episode: https://talentstacker.libsyn.com/how-to-earn-60k-100k-a-year-within-6-months-without-a-college-degree-say-what-salesforce-career-development-path-with-bradley-rice Do you already have a job as a Salesforce Professional and…