Is there a way to create test that is running before any other tests in the ‘test’ folder. I’d like to create a test that checks the php.ini settings before any other tests are run.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Does Symphony use PHPUnit? If so, PHPUnit’s default behavior will simply read a directory of files and execute them in the order they’re listed in by the operating system. Have you tried reordering files (by renaming, moving, etc) to change the testing order?