Closed DQNEO closed 9 years ago
more preferable such below.
reportUselessTests="true"
strictCoverage="true"
disallowTestOutput="true"
@see https://github.com/sebastianbergmann/phpunit-documentation/issues/282
done. how about this?
$ vendor/bin/phpunit
PHPUnit 4.8.9 by Sebastian Bergmann and contributors.
Runtime: PHP 7.0.0RC2
Configuration: /Users/DQNEO/src/github.com/DQNEO/fluent-logger-php/phpunit.xml.dist
Warning: Deprecated configuration setting "strict" used
Warning: The Xdebug extension is not loaded
No code coverage will be generated.
......ChainLogger: Fluent\Logger\FluentLogger failed fwrite retry: retry count exceeds limit. debug.test: {"hello":"world"}
...Entity::__construct(): unexpected time format `not int` specified.
........Fluent\Logger\FluentLogger failed fwrite retry: retry count exceeds limit. debug.test: {"foo":"bar"}
.Mock_FluentLogger_7d6836e2 could not write message debug.test: {"foo":"bar"}
.Mock_FluentLogger_7d6836e2 connection aborted debug.test: {"foo":"bar"}
........................
Time: 76 ms, Memory: 4.00Mb
OK (43 tests, 57 assertions)
$ vendor/bin/phpunit
PHPUnit 4.8.9 by Sebastian Bergmann and contributors.
Runtime: PHP 7.0.0RC2
Configuration: /Users/DQNEO/src/github.com/DQNEO/fluent-logger-php/phpunit.xml.dist
Warning: The Xdebug extension is not loaded
No code coverage will be generated.
......ChainLogger: Fluent\Logger\FluentLogger failed fwrite retry: retry count exceeds limit. debug.test: {"hello":"world"}
...Entity::__construct(): unexpected time format `not int` specified.
........Fluent\Logger\FluentLogger failed fwrite retry: retry count exceeds limit. debug.test: {"foo":"bar"}
.Mock_FluentLogger_8110f28b could not write message debug.test: {"foo":"bar"}
.Mock_FluentLogger_8110f28b connection aborted debug.test: {"foo":"bar"}
........................
Time: 90 ms, Memory: 4.00Mb
OK (43 tests, 57 assertions)
:+1: LGTM
:+1:
the current phpunit.xml.dist raises a warning like below: