-
-
Save jubianchi/da7ba5b4d81a489b793f to your computer and use it in GitHub Desktop.
<?php | |
use mageekguy\atoum; | |
$runner | |
->enableInstrumentation() | |
//->disableMoleInstrumentation() | |
//->disableCoverageInstrumentation() | |
; | |
//$coverageHtmlField = new atoum\report\fields\runner\coverage\html('atoum', __DIR__ . DIRECTORY_SEPARATOR . 'coverage'); | |
//$coverageHtmlField->setRootUrl('http://jubianchi.fr/'); | |
$script | |
->addDefaultReport() | |
//->addField($coverageHtmlField) | |
; |
$ bin/atoum -d tests/units/classes/instrumentation -ncc -mcn 3 --loop ++verbose | |
$ php /Users/jubianchi/repositories/hoaproject/atoum/tests/units/classes/instrumentation/stream/controller.php |
==> string(47) "mageekguy\atoum\mock\controller\linker::getMock"
==> string(41) "mageekguy\atoum\test\adapter\calls::reset"
==> string(41) "mageekguy\atoum\test\adapter\calls::reset"
==> string(44) "mageekguy\atoum\mock\controller\linker::init"
==> string(43) "mageekguy\atoum\test\adapter\storage::reset"
==> string(37) "mageekguy\atoum\score::addMemoryUsage"
==> string(34) "mageekguy\atoum\score::addDuration"
==> ";}}s:12:"_durations";a:1:{i:0;a:4:{s:5:"class";s:61:"mageekguy\atoum\tests\units\instrumentation\stream\controller";s:6:"method";s:15:"testStream_read";s:5:"value";d:0.011538982391357422;s:4:"path";s:68:"/tmp/atoum/tests/units/classes/instrumentation/stream/controller.php";}}s:15:"_memoryUsages";a:1:{i:0;a:3:{s:5:"class";s:61:"mageekguy\atoum\tests\units\instrumentation\stream\controller";s:6:"method";s:15:"testStream_read";s:5:"value";i:1572864;}}s:14:"_voidMethods";a:0:{}s:21:"_uncompletedMethods";a:0:{}s:17:"_skippedMethods";a:0:{}s:11:"_coverage";C:46:"mageekguy\atoum\instrumentation\score\coverage":240:{a:5:{i:0;a:1:{s:49:"mageekguy\atoum\instrumentation\stream\controller";s:56:"/tmp/atoum/classes/instrumentation/stream/controller.php";}i:1;a:1:{s:49:"mageekguy\atoum\instrumentation\stream\controller";a:0:{}}i:2;a:0:{}i:3;a:0:{}i:4;a:0:{}}}}string(39) "mageekguy\atoum\writers\std::__destruct"
==> string(39) "mageekguy\atoum\writers\std::__destruct"
==> string(39) "mageekguy\atoum\writers\std::__destruct"
==> string(39) "mageekguy\atoum\writers\std::__destruct"
==> string(39) "mageekguy\atoum\writers\std::__destruct"
==> string(39) "mageekguy\atoum\writers\std::__destruct"
==> string(35) "mageekguy\atoum\mock\stream::__call"
avg@debian:/tmp/atoum-586$ bin/atoum -d tests/units/classes/instrumentation -ncc -mcn 3 --loop ++verbose
Using -d tests/units/classes/instrumentation -ncc -mcn 3 --loop ++verbose arguments…
Using '/tmp/atoum/.atoum.php' configuration file…
Using '/tmp/9cec545c300801d4c4861f9311c93a09.atoum.cache' autoloader cache file…
Using 'tests/units/classes/instrumentation/autoloader/decorator.php' test file…
Using 'tests/units/classes/instrumentation/score/coverage.php' test file…
Using 'tests/units/classes/instrumentation/stream.php' test file…
Using 'tests/units/classes/instrumentation/stream/controller.php' test file…
Using --disable-loop-mode --force-terminal -d tests/units/classes/instrumentation -ncc -mcn 3 ++verbose --score-file /tmp/atoum.score arguments…
Using '/tmp/atoum/.atoum.php' configuration file…
Using '/tmp/9cec545c300801d4c4861f9311c93a09.atoum.cache' autoloader cache file…
Using 'tests/units/classes/instrumentation/autoloader/decorator.php' test file…
Using 'tests/units/classes/instrumentation/score/coverage.php' test file…
Using 'tests/units/classes/instrumentation/stream.php' test file…
Using 'tests/units/classes/instrumentation/stream/controller.php' test file…
Fatal error: Call to undefined function Symfony\Component\Yaml\ctype_digit() in /var/www/phpswitch/phpswitch/vendor/symfony/yaml/Symfony/Component/Yaml/Inline.php on line 408
avg@debian:/tmp/atoum-590$ phpswitch php:switch php-5.5.3
PHP switched to php-5.5.3
avg@debian:/tmp/atoum-591$ bin/atoum -d tests/units/classes/instrumentation -ncc -mcn 3 --loop ++verbose
Using -d tests/units/classes/instrumentation -ncc -mcn 3 --loop ++verbose arguments…
Using '/tmp/atoum/.atoum.php' configuration file…
Using '/tmp/9cec545c300801d4c4861f9311c93a09.atoum.cache' autoloader cache file…
Using 'tests/units/classes/instrumentation/autoloader/decorator.php' test file…
Using 'tests/units/classes/instrumentation/score/coverage.php' test file…
Using 'tests/units/classes/instrumentation/stream.php' test file…
Using 'tests/units/classes/instrumentation/stream/controller.php' test file…
Using --disable-loop-mode --force-terminal -d tests/units/classes/instrumentation -ncc -mcn 3 ++verbose --score-file /tmp/atoum.score arguments…
Using '/tmp/atoum/.atoum.php' configuration file…
Using '/tmp/9cec545c300801d4c4861f9311c93a09.atoum.cache' autoloader cache file…
Using 'tests/units/classes/instrumentation/autoloader/decorator.php' test file…
Using 'tests/units/classes/instrumentation/score/coverage.php' test file…
Using 'tests/units/classes/instrumentation/stream.php' test file…
Using 'tests/units/classes/instrumentation/stream/controller.php' test file…