The test planning stage involves identifying standards and protocols for test procedure creation, hardware and software requirements for the test environment, test data needs, a preliminary test schedule, and defect tracking procedures. The test plan will outline roles and responsibilities, the test project schedule, planning and design activities, test environment setup, risks and issues, and the required level of thoroughness. Test design addresses defining the number and types of tests, test paths and functions, and required test conditions. Test requirements must be clearly defined and documented before test design so that the basis for test efforts is understood. During test planning, the test team estimates the number and types of test techniques and procedures needed.