Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

phpunit --debug still displays only dots

I want to see which test is currently executed during a phpunit run.

I use the --debug param but still only get dots:

 $ phpunit --debug  PHPUnit 3.7.19 by Sebastian Bergmann.  Configuration read from /home/foo/bar/phpunit.xml  ..S.......I.. 

contents of phpunit.xml:

<phpunit backupGlobals="true"      bootstrap="tests/bootstrap.php"      backupStaticAttributes="false"      cacheTokens="false"      colors="true"      convertErrorsToExceptions="true"      convertNoticesToExceptions="true"      convertWarningsToExceptions="true"      forceCoversAnnotation="false"      mapTestClassNameToCoveredClassName="false"      printerClass="PHPUnit_TextUI_ResultPrinter"      processIsolation="false"      stopOnError="false"      stopOnFailure="false"      stopOnIncomplete="false"      stopOnSkipped="false"      testSuiteLoaderClass="PHPUnit_Runner_StandardTestSuiteLoader"      strict="false"      verbose="true">     <testsuites>     <testsuite name="foo Tests">         <directory>./tests</directory>     </testsuite>     </testsuites>     <filter>     <whitelist addUncoveredFilesFromWhitelist="true">         <directory suffix=".php">./src</directory>     </whitelist>     </filter>     <logging>     <log type="coverage-clover" target="./clover.xml"/>     </logging> </phpunit> 

What can be the reason for this?

like image 419
Alex Avatar asked Jun 12 '13 13:06

Alex


1 Answers

You want to be using --testdox

phpunit --testdox

like image 133
neilakapete Avatar answered Sep 25 '22 23:09

neilakapete