I'm writing an acceptance/functional tests for my PHP application using PHPUnit. In the course of test besides of running my application via Selenium I have additionally initialize my application in order to get some values for assertion. This forces my application to start a session and this crashes as PHPUnit had already send headers in form of CLI output. I have tried disabling CLI output and that resolves an issue. However in this case neither I nor automation receives any results of test executing except exit code.
Is there a workaround for this? Thank you.
Aucun commentaire:
Enregistrer un commentaire