title: PHPUnit & Behat; complementing or alternatives?
body: <p>I have been looking around SO and Google, but I couldn't really get a definitive answer.</p>
  
  <p>PHPUnit is a framework for unittesting, like JUnit. I use it, also in combination with the Selenium-extension for functional testing. When browsing around I see Behat/Mink keeps on getting mentioned. But I do not completely understand how Behat fits in here.</p>
  
  <p>With Behat you write scenarios in human-readable format. Behat can then translate that into skeleton classes for a new project? But does it also provide skeleton classes for unittesting? Do you write unittests using Behat, or you would use PHPUnit / SimpleTest for those?</p>
  
  <p>But then Behat/Mink does replace PHPUnit_Selenium-extension for functional testing?</p>
  
  <p>Do you use Behat only for new projects, or can it also be adapted to existing projects?</p>