Advertisement
Guest User

Untitled

a guest
Jun 28th, 2012
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.64 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <!-- http://www.phpunit.de/manual/current/en/appendixes.configuration.html -->
  4. <phpunit
  5.    backupGlobals               = "false"
  6.    backupStaticAttributes      = "false"
  7.    colors                      = "true"
  8.    convertErrorsToExceptions   = "true"
  9.    convertNoticesToExceptions  = "true"
  10.    convertWarningsToExceptions = "true"
  11.    processIsolation            = "false"
  12.    stopOnFailure               = "false"
  13.    syntaxCheck                 = "false"
  14.    bootstrap                   = "bootstrap.php.cache" >
  15.  
  16.     <testsuites>
  17.         <testsuite name="Project Test Suite">
  18.             <directory>../src/*/*Bundle/Tests</directory>
  19.             <directory>../src/*/Bundle/*Bundle/Tests</directory>
  20.         </testsuite>
  21.     </testsuites>
  22.  
  23.     <!--
  24.    <php>
  25.        <server name="KERNEL_DIR" value="/path/to/your/app/" />
  26.    </php>
  27.    -->
  28.  
  29.     <!-- Define internal used constants -->
  30.     <php>
  31.         <const name="SYMFONY_ENV_SHORT" value="test" />
  32.         <const name="SYMFONY_APP" value="frontend" />
  33.     </php>
  34.  
  35.     <filter>
  36.         <whitelist>
  37.             <directory>../src</directory>
  38.             <exclude>
  39.                 <directory>../src/*/*Bundle/Resources</directory>
  40.                 <directory>../src/*/*Bundle/Tests</directory>
  41.                 <directory>../src/*/Bundle/*Bundle/Resources</directory>
  42.                 <directory>../src/*/Bundle/*Bundle/Tests</directory>
  43.                 <!-- Exclude Componentent from phpunit testing -->
  44.                 <directory>../src/Component</directory>
  45.  
  46.             </exclude>
  47.         </whitelist>
  48.     </filter>
  49.  
  50. </phpunit>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement