Skip to content

shinichi81/Codeigniter-TDD-with-Hooks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'

About

A codeigniter unit tests example using only hooks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 99.7%
  • Other 0.3%