I have been looking around SO and Google, but I couldn't really get a definitive answer.
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.
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?
But then Behat/Mink does replace PHPUnit_Selenium-extension for functional testing?
Do you use Behat only for new projects, or can it also be adapted to existing projects?