function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AshanAshan 

Test Run On Deploy

Hi All,

Can we use data in the development org when writing test classes.

Deployment is done using eclipse. will the deployment fail if if we depend on data on developer org ?

Thanks

skodisanaskodisana
Hi,

In the recent salesforce releases, salesforce is no longer query the Org data during test methods run...

Thanks,
Srikanth. K
Cloud CredenceCloud Credence

Hi,

 

Best Practice is to insert data within testmethods and use them.

 

Thanks