I have a Magento
project and I am trying to implement unit testing in it.
For this I am using EcomDev
.
I am following this Tutorial and did the prerequisites:
- install composer;
- create a composer.json file for installing PHPUnit and EcomDev module;
- setup PHPUnit by creating the phpunit.xml configuration file;
- create the bootstrap file for PHPUnit;
So, since I used composer for installing EcomDev
(not modman).
And in the EcomDev
official github repo, we have to run the following commands as mentioned:
php ecomdev-phpunit.php -a magento-config --db-name magento_test --base-url http://local.fresh.com/
And I get the following error:
Cannot find local.xml.phpunit file in app/etc directory⏎
What should I be doing in this case, as I can't find any information about adding local.xml.phpunit
manually.
PS : I am using Magento 1.9