+ Start a Discussion
ai501.3910110299805757E12ai501.3910110299805757E12 

I need help writing an APEX test class to increase code coverage

I need help writing an APEX test class to increase code coverage i am new to salesforce and please give me some tips to increase code coverage what are the steps/tips i need to follow. please some one help.

Thanks in advacnce.
Ankit Gupta@ DeveloperAnkit Gupta@ Developer
Hi,

For the deployment you need 75% coverage for all the apex code .

Refer the below link:
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_testing_example.htm

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_test.htm

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_qs_test.htm

http://wiki.developerforce.com/page/An_Introduction_to_Apex_Code_Test_Methods

Regards
Ankit Gupta