Testing starts in the planning phase, where the plan is tested for loopholes and bottlenecks that might cause fatigue to the team.
Testing should definitely be carried out in the design phase to ensure that the processes work seamlessly and the product is error-free. Testing a product only after its development will add more pressure on the testing and development team.