You need to sign in to do that
Don't have an account?
![syamkishore1.3906536981992773E12 syamkishore1.3906536981992773E12](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
is it required to write test classes fro schedule apex and batch apex?/if so,Pls let me know how to write?
![](/forums/img/s.gif)
![](/forums/img/s.gif)
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