Help me in writingTest class for Batch apex
I created Batch apex to send emails to owners of the lead based on certain conditions. I have to write a test class to test gov limits.
Thanks in advance
closed as not a real question by Jesse Altman, Peter, Peter Knolle, Ryan Guest, eyescream Feb 6 '13 at 19:56
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.
I suggest you read this documentation from Salesforce.com related to Batch Apex. http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_batch_interface.htm
There is an example for testing batch apex in that page which can help you.