Test Class - cdelfattore/apex-enterprise-patterns GitHub Wiki
Introduction
Salesforce requires all apex code to have 75% code coverage in order to deploy code to a production environment. Test Driven Development should be used when developing any apex code. Test classes should be written while developing apex code, it should not be an after thought.
More information about writing test classes in salesforce can be found here