Testing is an integral part of the Salesforce development platform. This landing page links to several other pages about testing on the Salesforce platform.

Testing Article List

  • Testing Strategies – Why you should have tests and how to plan your tests
  • Testing Utility Class – Writing re-usable testing code Coming Soon
  • Test Structure and How-To – How to write a test and how to ensure your tests are working Coming Soon
  • Testing Controller Extensions – How to test controller extensions and VisualForce Coming Soon
  • Testing Custom Settings – How to test code that relies on custom settings Coming Soon
  • Testing Exceptions – How to test exceptions in your code Coming Soon
  • Testing WebServices with SoapUI – How to test custom WebServices outside of Salesforce Coming Soon

Additional Reading

Intro to Apex: Auto converting leads in a trigger

SFDC 99 How to Write a Test Class

SFDC 99 Principles of a Good Test Class