Part of the EllisLab Network
   
3 of 3
3
Improved CodeIgniter Unit Testing
Posted: 09 December 2010 06:21 AM   [ Ignore ]   [ # 21 ]  
Summer Student
Avatar
Total Posts:  12
Joined  05-04-2009

Glad it worked. It’s good you reported this, I should be using local language strings instead of hard coding them directly. This should be fixed in the next version and compatibility with CI 2.x as well.

Profile
 
 
Posted: 08 March 2011 07:06 AM   [ Ignore ]   [ # 22 ]  
Summer Student
Total Posts:  29
Joined  03-04-2011

As per my view there is no need to test the controller functions for unit testing as it is integration of many functions of models , helpers etc.

So perform unit testing on those function only . If the test passes the test for controller will pass automatically.

We can perform integration testing for controller functions .may be!!!

Profile
 
 
   
3 of 3
3