Professional Documents
Culture Documents
See All Data True
See All Data True
We use seeAllData = true to get real-time data in test class, but without using
this also you can get the data from following objects.
User, profile, organization, AsyncApexjob, Corntrigger, RecordType, ApexClass,
ApexComponent , ApexPage and custom metadata types.
By default test class cannot recognize the existing data in the database.
if you mention @isTest(seeAllData = true) then test class can recognize the
existing data in the database.