while giving command

zf create action login

i get the error

PHPUnit is required in order to generate controller test stubs.

-------------any suggestions

Member Avatar for LastMitch

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

Member Avatar for LastMitch

@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

  • Apache 2.4.3
  • MySQL 5.5.27
  • PHP 5.4.7
  • phpMyAdmin 3.5.2.2

Then use either GIT or PEAR

EDIT Although installing Apache & MySQL as services fails currently under the new GUI

Member Avatar for LastMitch

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):

http://pear.phpunit.de/

@LastMitch,

Thats the link i couldnt find :)

+1

finally i quited working with zend :P

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.