Full AWS Practitioner Certification Question

During which phase of the software development lifecycle should testing requirements be defined?