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

Revision #12 has been created by lucifurious on Mar 12, 2011, 2:55:05 AM with the memo:

Added script location for Linux.
« previous (#11) next (#13) »

Changes

Title unchanged

NetBeans IDE and Yii projects

Category unchanged

Tutorials

Yii version unchanged

Tags unchanged

IDE, Selenium, PHPUnit, XDebug, NetBeans

Content changed

[...]
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.6/en/installation.html).
- Open "Tools > Options > PHP > Unit Testing" and set the correct path to
phpunit.batthe launch script. This is phpunit.bat in Windows and usually /usr/bin/phpunit in Linux.
- 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)
[...]
65 0
68 followers
Viewed: 203 145 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

Revisions

View all history