Behat is an open source BDD framework for PHP 5.3.
There are 3 methods to install Behat. I prefer to use PEAR
$ pear channel-discover pear.behat.org $ pear channel-discover pear.symfony.com $ pear install behat/behat
Test your installation
then you should see
[InvalidArgumentException] Provide correct feature(s) path. "/your/current/directory/features" given
You want to install PHPUnit as well.