Newer Version Available
Testing Components
Automated tests are the best way to achieve predictable, repeatable assessments
of the quality of your custom code. Writing automated tests for your custom
components gives you confidence that they work as designed, and allows you to
evaluate the impact of changes, such as refactoring, or of new versions of
Salesforce or third-party JavaScript libraries.
Use your testing framework of choice. Here are some popular testing tools.