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

Revision #11 has been created by szako on Jan 17, 2011, 6:45:23 PM with the memo:

Adding a tip for whole project testing
« previous (#10) next (#12) »


Title unchanged

NetBeans IDE and Yii projects

Category unchanged


Yii version unchanged

Tags unchanged

IDE, Selenium, PHPUnit, XDebug, NetBeans

Content changed

- Open "Tools > Options > PHP > Unit Testing" and set the correct path to phpunit.bat
- Install SeleniumRC by getting the NetBeans plugin
- Open "Tools > Plugins > Available Plugins"
- Install "Selenium Module for PHP"
- Configure project options
- Open "File > Project properties > Sources" and set "Test Folder" to \[PROJECT ROOT\]/protected/tests
 (If the whole project testing doesn't work, try \[PROJECT ROOT\]/protected/tests/unit)
- Open "File > Project properties > PHPUnit" and set "Use Bootstrap" to \[PROJECT ROOT\]/protected/tests/bootstrap.php, and "Use XML Configuration" to \[PROJECT ROOT\]/protected/tests/phpunit.xml

#### Usage:
- Test whole project: Alt+F6
- Test single file: Shift-F6
65 0
Viewed: 203 753 times
Version: 1.1
Category: Tutorials
Written by: marcovtwout
Last updated by: marcovtwout
Created on: Sep 21, 2010
Last updated: 3 years ago
Update Article


View all history