Introduction to Test Classes in Salesforce
Offered By: LinkedIn Learning
Course Description
Overview
Enhance your Salesforce development tool kit by learning why test classes are needed, how to write them for supportability, and how to achieve maximum code coverage.
Syllabus
Introduction
- The power of test classes in Salesforce
- What you should know
- Test class requirements
- Value of test classes
- Test-driven development
- Miscellaneous tests
- Basic test class for Apex code
- Test data creation and validation
- Naming convention: Test classes
- Initial test class modifications
- Coding example: Test utility
- Testing using a test factory
- Set global values for the test factory
- Set up a test factory
- Customize a test factory
- Testing with a test factory
- Best practices with test class
- System asserts
- Static resources
- Custom settings vs. Custom metadata
- Profiles and record types
- Advanced testing topics
- Batch Apex
- Mock framework
- Testing @future
- Testing visual force pages
- Next steps
Taught by
Duard Lynn Davis
Related Courses
Play by Play: Lightning UX Design Process for Salesforce DevelopersPluralsight Play by Play: Understanding Apex Enterprise Patterns and Separation of Concerns in Salesforce
Pluralsight Play by Play: Taming the Salesforce Order of Execution
Pluralsight Salesforce Development Training for Beginners
Udemy Salesforce Developer Training with real-time project
Udemy