PHPCI icon indicating copy to clipboard operation
PHPCI copied to clipboard

Xdebug extension not being loaded cause a TAP error

Open j3j5 opened this issue 8 years ago • 2 comments

The TAP parser throws an extension when you try to run phpunit plugin and the xdebug extension is not loaded. The tapString looks something like this:

TAP version 13
Warning:        The Xdebug extension is not loaded
            No code coverage will be generated.

These warnings aren't taken into account on the TAP parser making it throw an Exception, which results on the build failing although all the unittests passed and there was no coverage set on the config, so xdebug wasn't really necessary.

I am using 1.7.0-beta2

j3j5 avatar Dec 27 '15 18:12 j3j5

I'm using the same version of PHPCI and had the same issue so I just installed XDebug following this Gist: https://gist.github.com/kamilZ/b11d1448e1479fe591f6

olimorris avatar Feb 29 '16 06:02 olimorris

That solved it. This is your issue as opposed to PHPCI's

olimorris avatar Feb 29 '16 06:02 olimorris