03.01.04 — Defining Test Data and Record State
Lesson goal
This lesson explains how to define test data and record state correctly in Salesforce test cases, and why weak data definitions are a primary cause of failed executions and false defects.
After this lesson, you should understand:
* why “existing data” is not a valid test precondition,
* how record