PHP Fatal error: Class 'Controller' not found in PHPUnit for CodeIgniter using CIUnit |
[eluser]sidhartha[/eluser]
To integrate codeigniter with phpunit i use CIUnit from http://www.knollet.com/foostack/ after following all the steps mentioned in the site http://www.knollet.com/foostack/ i ran 'phpunit AllTests.php' in the tests folder from the command prompt. it runs well. but when i want to run a test for a controller it produces the following error though my phpunit for general programmes(without mvc) works well. PHP Fatal error: Class 'Controller' not found in /opt/lampp/htdocs/mytask/system/application/controllers/country.php on line 9 some one please help me. i have stopped here for more than 3 days |
Messages In This Thread |
PHP Fatal error: Class 'Controller' not found in PHPUnit for CodeIgniter using CIUnit - by El Forum - 07-20-2010, 08:33 AM
PHP Fatal error: Class 'Controller' not found in PHPUnit for CodeIgniter using CIUnit - by El Forum - 08-02-2010, 04:40 AM
PHP Fatal error: Class 'Controller' not found in PHPUnit for CodeIgniter using CIUnit - by El Forum - 08-02-2010, 08:38 AM
PHP Fatal error: Class 'Controller' not found in PHPUnit for CodeIgniter using CIUnit - by El Forum - 08-03-2010, 12:47 AM
PHP Fatal error: Class 'Controller' not found in PHPUnit for CodeIgniter using CIUnit - by El Forum - 08-03-2010, 04:10 PM
|