Download the PHP package celc/ciunit without Composer
On this page you can find all versions of the php package celc/ciunit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor celc
Package ciunit
Short Description Enables testing CodeIgniter 2.1 with PHPUnit
License MIT
Package ciunit
Short Description Enables testing CodeIgniter 2.1 with PHPUnit
License MIT
Please rate this library. Is it a good library?
Informations about the package ciunit
CIUnit for CodeIgniter 2
Note: This is not compatible with CodeIgniter 3. The original creator of my-ciunit has a new project for that here: https://github.com/kenjis/ci-phpunit-test.
Examples
Controller
Install via composer
Copy the example test directory into the root of your project (same folder as application
and system
):
Create application/config/testing/database.php
for database testing. The database name must end with _test
.
Writing tests
The tests
directory is an example. You are meant to replace the tests with your own.
Run Tests:
From the tests
directory run:
All versions of ciunit with dependencies
PHP Build Version
Package Version
The package celc/ciunit contains the following files
Loading the files please wait ....