You need to sign in to do that
Don't have an account?

how to test the apex class and deployed in to production.
hi all,
i have writtern a apex class for leadconvertion.
when i tested class in eclipse editor it is showing 0% test coverage.
what should i do to solve this issue.
i need any of ur help to deploy to production.
how to write "test method" for this apex class. whether i have to write test method in the same apex class or different class.
dotnet develope wrote:
hwhen i tested class in eclipse editor it is showing 0% test coverage.
what should i do to solve this issue.
Download the Apex Developer's Guide and read the "Testing and Code Coverage" section on p. 97.
dotnet develope wrote:
how to write "test method" for this apex class. whether i have to write test method in the same apex class or different class.
The test methods are supposed to be in the same class.