Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automated Unit Testing with CodeIgniter

Anyone using CodeIgniter use automated unit testing?

Seems the way CodeIgniter's guy do unit test need to have a controller which run in browser,

e.g.

  1. http://codeigniter.com/user_guide/libraries/unit_testing.html
  2. or this: http://jensroland.com/projects/toast/

However, I only want to test from command line, I want automated test and build.

Any recommendation?

Thanks.

like image 276
Howard Avatar asked Feb 03 '11 07:02

Howard


Video Answer


1 Answers

You can use this integration with phpunit - http://www.foostack.com/foostack/

It would then run from the command line.

like image 129
Eric Avatar answered Sep 28 '22 09:09

Eric