EcomDev / EcomDev_PHPUnit

Magento PHPUnit Integration
http://www.ecomdev.org/shop/code-testing/php-unit-test-suite.html
Open Software License 3.0
299 stars 166 forks source link

Module can not be installed #246

Closed Pacolu closed 9 years ago

Pacolu commented 9 years ago

I try to initialize the module with the command "phpunit". At my first attempt i got this error: The test was skipped, since vfsStream component is not installed. Try install submodules required for this functionality After this i haste added the require in my composer.json. The error still exist, so I've searched and found an entry, where it is said that the module "Hackathon_PSR0Autoloader" may fix the problem. After installing this module it works, at first. After a short while i get this error message: ..←[31;1mE←[0m←[31;1mE←[0m←[31;1mE←[0m←[31;1mE←[0m←[31;1mE←[0m......←[31;1mE←[0m←[31;1mE←[0m←[31;1mE←[0m←[31;1mE←[0m Fatal error: Call to undefined method EcomDev_PHPUnitTest_Test_Lib_AbstractConstraint::generate() in C:\Magento_Path\vendor\phpunit\phpunit-mock-objects\src\Framework\MockObject\Generator.php on line 224

Do you have any idea how i get it to work?

My system: Windows 7 64 Bit Magento 1.9 CE