Install a Composer to your project's root
php composer.phar require "codeception/codeception:*"
From now on Codeception (with installed PHPUnit) can be run as:
Initialize your testing environment with
php vendor/bin/codecept bootstrap
Currently Codeception installs Webdriver and Guzzle libraries as dependencies. If you don't plan to do acceptance testing, you can get minimal installation of Codeception by requiring `codeception/base`
For PHP 5.3 use the latest version of Codeception 1.8.x
Prepare tests directory and configs
php composer.phar require "codeception/base:*" --dev
Alternative installation method for bugfixing, contributions and hacking
Clone from GitHub:
git clone firstname.lastname@example.org:Codeception/Codeception.git
Install dependencies with Composer
cd Codeception curl -s http://getcomposer.org/installer | php php composer.phar install
Execute bootstrap, specifying path to your directory.
php codecept bootstrap /path/to/my/project
To run tests use
-c option for specifing path.
php codecept run -c /path/to/my/project
If you want to build phar package you need to install Robo Task Runner and execute
Don't forget to send Pull Requests!