Guest User

Untitled

a guest
Nov 24th, 2017
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.90 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
  4. <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  5. xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/6.0/phpunit.xsd"
  6. backupGlobals="false"
  7. colors="true"
  8. bootstrap="../../src/test.bootstrap.php"
  9. convertErrorsToExceptions="true"
  10. convertNoticesToExceptions="true"
  11. convertWarningsToExceptions="true"
  12. processIsolation="false"
  13. stopOnError="false"
  14. stopOnFailure="false"
  15. stopOnIncomplete="false"
  16. stopOnSkipped="false"
  17. stopOnRisky="false"
  18. verbose="true"
  19. >
  20. <!--printerFile="vendor/whatthejeff/emoji-phpunit-resultprinter/src/Emoji/PHPUnit/ResultPrinter.php"-->
  21. <!--printerClass="EmojiPHPUnitResultPrinter"-->
  22. <php>
  23. <ini name="error_reporting" value="-1" />
  24. <server name="KERNEL_DIR" value="src/" />
  25. <env name="BOOTSTRAP_CLEAR_CACHE_ENV" value="testing"/>
  26. </php>
  27.  
  28. <loggin>
  29. <log type="coverage-html" target="build/coverage"/>
  30. <log type="coverage-clover" target="build/logs/clover.xml"/>
  31. <log type="coverage-crap4j" target="build/logs/crap4j.xml"/>
  32. <log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/>
  33. </loggin>
  34.  
  35. <testsuites>
  36. <testsuite name="Project Test Suite">
  37. <directory>src/*/*Bundle/Tests</directory>
  38. <directory>src/*/Bundle/*Bundle/Tests</directory>
  39. </testsuite>
  40. </testsuites>
  41.  
  42. <filter>
  43. <whitelist>
  44. <directory>../src</directory>
  45. <exclude>
  46. <directory>src/*/*Bundle/Resources</directory>
  47. <directory>src/*/*Bundle/Tests</directory>
  48. <directory>src/*/Bundle/*Bundle/Resources</directory>
  49. <directory>src/*/Bundle/*Bundle/Tests</directory>
  50. </exclude>
  51. </whitelist>
  52. </filter>
  53. </phpunit>
  54.  
  55. ./build/bin/phpunit.phar -c build/config/phpunit.xml --coverage-clover build/logs/clover.xml --coverage-crap4j build/logs/crap4j.xml --coverage-html build/coverage --coverage-xml build/logs/coverage.xml --log-junit build/logs/junit.xml --testdox-html build/testdox/testdox.html --testdox-xml build/logs/testdox.xml src/ -v
  56.  
  57. PHPUnit 6.1.4 by Sebastian Bergmann and contributors.
  58.  
  59. Runtime: PHP 7.1.5-1+0~20170522123046.25+jessie~1.gbpb8686b with Xdebug 2.6.0-dev
  60. Configuration: /home/testcase/build-directories/build/config/phpunit.xml
  61. Error: Incorrect whitelist config, no code coverage will be generated.
  62.  
  63. .................. 18 / 18 (100%)
  64.  
  65. Time: 945 ms, Memory: 6.00MB
  66.  
  67. OK (18 tests, 68 assertions)
  68.  
  69. <whitelist>
  70. <directory suffix=".php">./src</directory>
  71. <exclude>
  72. <directory>./src/*/*Bundle/Resources</directory>
  73. <directory>./src/*/*Bundle/Tests</directory>
  74. <directory>./src/*/Bundle/*Bundle/Resources</directory>
  75. <directory>./src/*/Bundle/*Bundle/Tests</directory>
  76. </exclude>
  77. </whitelist>
Add Comment
Please, Sign In to add comment