+ 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