while giving command
zf create action login
i get the error
PHPUnit is required in order to generate controller test stubs.
-------------any suggestions
while giving command
zf create action login
i get the error
PHPUnit is required in order to generate controller test stubs.
-------------any suggestions
PHPUnit is required in order to generate controller test stubs.
The reason why that message appear because you don't have PHPUnit installed yet.
Installed PHPUnit and that message won't appear again.
OK, did you installed ZF2 yet (correctly) from the preivous thread that you post?
last mich im using ZF1 and its all configured and runing and showing this error
@kakalahori
You need to install the PHPUnit module. This can be easily done via PEAR
http://pear.php.net/manual/en/installation.getting.php
Or via GIT
https://github.com/sebastianbergmann/phpunit/
I used PEAR in my set up as it also allows access to the pre compiled libraries.
@kakalahori
last mich im using ZF1 and its all configured and runing and showing this error
OK, so you are using ZF1 now.
Squidge provided couple of links on how to installed PHPUnit module.
Try it and lets us know what issue you are still having with the PHPUnit module.
ihave php5.3.13 and PhpUnit 3.8 requires php5.4 above .....any other link ??
What is your test platform?
I use XAMPP
http://www.apachefriends.org/en/xampp.html
Then use either GIT or PEAR
EDIT Although installing Apache & MySQL as services fails currently under the new GUI
i have php5.3.13 and PhpUnit 3.8 requires php5.4 above .....any other link ??
May I ask why are you going backward with certain requirements?
I hope understand it's hard to find packages that far back. But even you used the package there are certain PHP function might not work.
Read this and scroll down to (PHPUnit - The PHP Unit Testing framework):
@LastMitch,
Thats the link i couldnt find :)
+1
finally i quited working with zend :P
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.