A codeigniter unit tests example using only hooks.
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
application
system
tests
vendor
.gitignore
README.md
composer.json
index.php
phpunit.xml.dist

README.md

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'