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
syamkishore1.3906536981992773E12syamkishore1.3906536981992773E12 

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: http://wiki.developerforce.com/page/An_Introduction_to_Apex_Code_Test_Methods