Yii Framework Forum: Web Application Development With Yii And Php Second Edition - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Web Application Development With Yii And Php Second Edition Error in running the test using phpunit .... Chapter 3 - Page 53

#1 User is offline   Azhar Imran Mughal 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 29-April 13

Posted 29 April 2013 - 04:49 AM

I am studying this book and checking the code to get some knowledge about Yii framework. While studying the chapter 3 - The TrackSTar Application on page no. 53, when i tried to run the following coomand

phpunit unit/DbTest.php (while I am in D:/Programs/xampp/htdocs/trackstar/protected/tests)

The following error appeared ...
'phpunit' is not recognized as an internal or external commmand, operable program or batch file

I am running Windows-7 32-bit Ultimate, XAMPP version 1.8.1 with PHP 5.4.7, Yii Framework is 1.1.13.e9e4a0
XAMPP is installed at D:/Programs/xampp
Web Root Directory is D:/Programs/xampp/htdocs
Yii Framework is D:/Programs/xampp/htdocs/yii-1.1.13
TrackStar application is at D:/Programs/xampp/htdocs/trackstar

Many times i tried to re-install XAMPP and PHPUnit but same problem ...
I will be very tahankful if some one will give me a step-by-step solution to get out of this problem. Thanks
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users