Quantcast

Cakephp 3.0 unit testing for plugins

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Cakephp 3.0 unit testing for plugins

ravikanth
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.
Loading...