PHPUnit and CIUnit v0.17 doesnt work in CodeIgniter 1.7 |
[eluser]Bogsz[/eluser]
Hi, I have followed this link http://www.knollet.com/foostack/ for setting up CIUnitv0.17 in CI project In the last part of the link is the following : Quote:CIUnit tests itself I followed the instructions above but after executing phpunit, it displays nothing. as in empty. No results. What could be the problem here? Please help.. Im really stuck for 3 days and I suspect that CIUnit has the problem here. ![]() I use Ubuntu 11 and PHPUnit 3.6.10.. Tried PHPUnit 3.5.15 but still the same.. UPDATE : Found the source of the problem. It is in set_controller method in CIUnit.php This line Code: self::$controllers[$controller_name] = Array( Quote:‘address’ => new $controller_name() line is the main problem What could be the fix for this? Hope someone would help me. Im really stuck ![]() |
Messages In This Thread |
PHPUnit and CIUnit v0.17 doesnt work in CodeIgniter 1.7 - by El Forum - 02-01-2012, 11:31 PM
PHPUnit and CIUnit v0.17 doesnt work in CodeIgniter 1.7 - by El Forum - 02-01-2012, 11:44 PM
PHPUnit and CIUnit v0.17 doesnt work in CodeIgniter 1.7 - by El Forum - 02-02-2012, 12:13 AM
PHPUnit and CIUnit v0.17 doesnt work in CodeIgniter 1.7 - by El Forum - 02-02-2012, 01:56 AM
PHPUnit and CIUnit v0.17 doesnt work in CodeIgniter 1.7 - by El Forum - 02-02-2012, 02:58 AM
PHPUnit and CIUnit v0.17 doesnt work in CodeIgniter 1.7 - by El Forum - 02-02-2012, 03:38 AM
PHPUnit and CIUnit v0.17 doesnt work in CodeIgniter 1.7 - by El Forum - 12-13-2012, 02:30 AM
|