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

is it required to write test classes fro schedule apex and batch apex?/if so,Pls let me know how to write?

Best Answer chosen by April (Salesforce Developers) 
Phillip SouthernPhillip Southern
Hi, you do need to write a test class for your apex class...not only is code coverage required but it is also good practice to write test classes for testing purposes without UI interaction.  Check this link out from developerforce for an intro and code samples: