title: fatal error 'File/Iterator/Autoload.php' not found when running phpunit
body: <p>I am getting this error while i tried to run testclass in phpunit.</p>
  
  <pre><code>C:\xampp\htdocs\unittest&gt;phpunit UnitTest usertest.php
  PHP Warning:  require_once(File/Iterator/Autoload.php): failed to open stream No such file or directory in C:\xampp\php\pear\PHPUnit\Autoload.php on line 45
  PHP Stack trace:
  PHP   1. {main}() C:\xampp\php\phpunit:0
  PHP   2. require() C:\xampp\php\phpunit:41
  
  Warning: require_once(File/Iterator/Autoload.php): failed to open stream: No such file or directory in C:\xampp\php\pear\PHPUnit\Autoload.php on line 45
  
  Call Stack:
      0.0004     325352   1. {main}() C:\xampp\php\phpunit:0
      0.0026     366520   2. require('C:\xampp\php\pear\PHPUnit\Autoload.php')xampp\php\phpunit:41
  
  PHP Fatal error:  require_once(): Failed opening required 'File/Iterator/Autoload.php' (include_path='.;C:\php\pear') in C:\xampp\php\pear\PHPUnit\Autoload.php on line 45
  PHP Stack trace:
  PHP   1. {main}() C:\xampp\php\phpunit:0'
  </code></pre>
  
  <p>could anyone give solution to this ??</p>
  
  <p>Note: i am using windows 7.</p>
  
  <p>Thanks,</p>