Difference between #9 and #10 of
NetBeans IDE and Yii projects

Revision #10 has been created by Trejder on Nov 16, 2010, 9:05:20 AM with the memo:

updated PHPUnit installation instruction path and some minor changes in text
« previous (#9) next (#11) »

Changes

Title unchanged

NetBeans IDE and Yii projects

Category unchanged

Tutorials

Yii version unchanged

Tags changed

IDE, Selenium, PHPUnit, XDebug, NetBeans

Content changed

[...]
## Testing

To run functional tests and unit tests in Yii, recommended is installing PHPUnit and SeleniumRC.

- Install PHPUnit
- Follow [the official
version 3.6 installation instructions](http://www.phpunit.de/manual/3.06/en/installation.html).
- Open "Tools > Options > PHP > Unit Testing" and set the correct path to phpunit.bat
- Install SeleniumRC by getting the NetBeans plugin
[...]
- Restart NetBeans

For above and many more reasons, Yii core files should be kept **outside** project directory and anywhere outside any web-accessible directory. I.e. if you keep your project files in Apache's _httpd_ directory, it is wise to create a new dir (called _yii_, _framewore_ or sth. like that) in the same level of dirtree (inside Apache main folder, **not** in _httpd_ dir!) and put Yii core files there. If you do that, you have to include Yii folder in _Include Path_, as it is written above.
 
 
#### Usage:
- Typing suggestions: Ctrl-Space
- Show Function parameters: Ctrl-P
[...]
## Debugging

- In
stallclude the Xdebug extension for PHP
 
  - Apache and PHP 5.3, php.ini
 (should already be available):
 
  - In php.ini enable (remove trailing comment semicolon sign - ;) these settings
: <pre>zend_extension = "C:\xampp\php\ext\php_xdebug.dll"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "localhost"
xdebug.remote_port = 9000</pre>
[...]
65 0
66 followers
Viewed: 252 023 times
Version: 1.1
Category: Tutorials
Written by: marcovtwout
Last updated by: marcovtwout
Created on: Sep 21, 2010
Last updated: 9 years ago
Update Article

Revisions

View all history