NetBeans IDE and Yii projects

Comparing #10 with #11

Revision #11 was created by szako szako on Jan 17, 2011, 6:45:23 PM.

Adding a tip for whole project testing

Content

[...]
- 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
[...]