Code Coverage for Visualforce Pages :- In our previous Salesforce Developer Tutorial we have learned about Governor limits in Salesforce.com. In this Salesforce Training Tutorial we are going to learn about Code coverage for visualforce pages.
Code Coverage for Visualforce Pages
Code Coverage for Visualforce Pages are mandatory for every apex code and visualforce controller in salesforce.com.The process of writing code for triggers and writing code code for visualforce controller are similar to each code but some additional methods are written in visualforce controller. When writing any visualforce page or controller code coverage must be at least 75% before it is deployed to production environment.