Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/willmendesneto/codeigniter-tdd-with-hooks

A codeigniter unit tests example using only hooks.
https://github.com/willmendesneto/codeigniter-tdd-with-hooks

Last synced: about 2 months ago
JSON representation

A codeigniter unit tests example using only hooks.

Awesome Lists containing this project

README

        

Codeigniter-TDD-with-Hooks
==========================

A codeigniter unit tests example using only hooks.

A codeigniter unit tests example using only hooks.

## How to use

1 Put in your project. You can:
* Create a database "ci-phpunit" or modify the database specifications
* Run in your browser the url 'your-project-url/migrate' for generate the 'posts' table in database
* Run in your CLI
'cd your-project-directory'

'php vendor/phpunit/phpunit/composer/bin/phpunit'
or
'php vendor/phpunit/phpunit/composer/bin/phpunit --testdox'