Open infisamk opened 8 years ago
@infisamk Do you do any output buffering in your code? The TAP parser relies on the standard output.
It's default Symfony's AppBundle and test.
Sorry, I am not familiar with the Symfony AppBundle.
You can try this patch I worked on as an alternative to the TAP parser: https://github.com/Block8/PHPCI/pull/1275
On Tue, Oct 25, 2016, 12:36 AM infisamk notifications@github.com wrote:
It's default Symfony's AppBundle and test.
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/Block8/PHPCI/issues/1277#issuecomment-255934083, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPd3X5kVo3ZPYz2m37kNOteBZqH3cKqks5q3YddgaJpZM4KeieM .
Sincerely,
Pablo Tejada
From Mobile
Symfony framework use output buffer.
Default php_unit is working only with my change. New plugin is working ok.
If I enable php_unit in test section in phpci.yml, I got exception "No TAP log found, please check the configuration.". But phpunit tests are ok.
I change line 152 in PHPCI/Plugin/PhpUnit.php to: $this->phpci->logExecOutput(true);
Then build with tests is working ok.