Kahlan

(( gitHubWatchers )) (( gitHubStars )) (( gitHubForks ))

Kahlan is a full-featured Unit & BDD test framework a la RSpec/JSpec which uses a describe-it syntax and moves testing in PHP one step forward.

Kahlan allows to stub or monkey patch your code directly like in Ruby or JavaScript without any required PECL-extentions.

Installation

Install from a Composer package as a dev dependency (with Composer)

Make sure you have Composer installed.

Require it as a dev dependency:
composer require --dev kahlan/kahlan
Run it:
php vendor/bin/kahlan

Install from a Git repository (with Git)

Make sure you have git and Composer installed.

Git clone the repository:
git clone git://github.com/kahlan/kahlan.git
Change into the new directory:
cd kahlan
Install the project dependencies:
composer install
Run it:
bin/kahlan