Tuesday, January 12, 2016

Cakephp 3.0 unit testing for plugins

hi,
when i execute the plugin/firstplugin folder iam getting following error

1) SamplePlugin\Test\TestCase\Controller\CustomersControllerTest::testIndex      
include(D:\xampp\htdocs\MyApp\vendor\cakephp\cakephp\tests\test_app\config\routes.php): failed to open stream: No such file or directory

D:\xampp\htdocs\EATZ_V2_3.X\vendor\cakephp\cakephp\src\Routing\Router.php:974
D:\xampp\htdocs\EATZ_V2_3.X\vendor\cakephp\cakephp\src\Routing\Router.php:974
D:\xampp\htdocs\EATZ_V2_3.X\vendor\cakephp\cakephp\src\Routing\Router.php:547
D:\xampp\htdocs\EATZ_V2_3.X\vendor\cakephp\cakephp\src\TestSuite\IntegrationTestCase.php:451
D:\xampp\htdocs\EATZ_V2_3.X\vendor\cakephp\cakephp\src\TestSuite\IntegrationTestCase.php:392
D:\xampp\htdocs\EATZ_V2_3.X\vendor\cakephp\cakephp\src\TestSuite\IntegrationTestCase.php:312
D:\xampp\htdocs\EATZ_V2_3.X\vendor\cakephp\cakephp\src\TestSuite\IntegrationTestCase.php:233
D:\xampp\htdocs\EATZ_V2_3.X\plugins\SamplePlugin\tests\TestCase\Controller\CustomersControllerTest.php:29
D:\xampp\php\pear\PHPUnit\TextUI\Command.php:176
D:\xampp\php\pear\PHPUnit\TextUI\Command.php:129

please address the issue.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at https://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: