Phpunit: Is '--log-json' missing in PHPUnit 6?

Created on 11 Feb 2017  路  7Comments  路  Source: sebastianbergmann/phpunit

As mention in manual, there is option to export logs to JSON https://phpunit.de/manual/6.0/en/logging.html#logging.json but when I run phpuint --log-json I get unrecognized option --log-json.

Was this feature intentionally removed from version 6?

I am asking because NetBeans IDE 8.2 relies on this feature, so now I can't run tests from IDE directly.

Most helpful comment

I am curious to know the reason that this was deprecated and removed?

All 7 comments

I am curious to know the reason that this was deprecated and removed?

I suspect that this might be made available through a stand-alone translating tool instead of being built-in.

Yep, breaks the code coverage view in Netbeans. To bad it wa a nice feature.

Any solutions for --log-json in netbeans8.2

I have same problem with this version. Someowne has any idea how to fixed it?

Well, that sux

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sebastianbergmann picture sebastianbergmann  路  4Comments

nicklevett picture nicklevett  路  4Comments

AnmSaiful picture AnmSaiful  路  4Comments

stephen-leavitt-sonyatv-com picture stephen-leavitt-sonyatv-com  路  4Comments

edyan picture edyan  路  4Comments