To start and stop anonymous block execution when you're executing anonymous Apex code, testing your code and non-code is very important! This chapter will handle all the principles in regard to testing your code and the impact on testing when you modify a small thing on an object (such as adding a required field or a validation rule).
This chapter will help you describe the benefits of Apex testing, define a test class with test methods, and execute unit tests and analyze the test results.
By completing this chapter, you will be able to do the following:
- Describe the benefits of an Apex trial
- Define a test class with test methods
- Execute unit tests and analyze the test results