Test planning involves defining the scope, objectives, and activities for testing a project. It is done early in the project and produces a master test plan. Key activities include identifying what needs testing, assigning roles and resources, and defining entry and exit criteria. Estimating test effort can be done using metrics from past projects or by eliciting estimates from subject matter experts. Product characteristics, development processes, and expected test outcomes all impact the level of effort required for testing.