Codeception

Author(s)
Michael Bodnarchuk
Website
http://codeception.com/
License
MIT License
GitHub
codeception/codeception
Packagist
codeception/codeception
DockerHub
phpqa/codeception

0 0 0

Codeception is a modern full-stack testing framework for PHP.

Inspired by BDD, it provides an absolutely new way of writing acceptance, functional and even unit tests. Powered by PHPUnit.

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 codeception/codeception
Run it:
php vendor/bin/codecept

Install from a PHP Archive (with curl or wget)

The PHPUnit documentation has a clear manual on how to install PHARs on Windows.

If you have the Suhosin extension enabled, make sure to allow the execution of PHARs in your php.ini:
suhosin.executor.include.whitelist = phar

Locally (No HTTPS)
Download it:
wget -O codecept.phar http://codeception.com/codecept.phar
or
curl -sSL http://codeception.com/codecept.phar -o codecept.phar
Use it:
php codecept.phar
Globally (No HTTPS)
Download it:
wget -O codecept.phar http://codeception.com/codecept.phar
or
curl -sSL http://codeception.com/codecept.phar -o codecept.phar
Install it as an executable:
chmod a+x codecept.phar
sudo mv codecept.phar /usr/local/bin/codecept
Use it:
codecept