Features | Wednesday, February 15, 2012

PHPUnit improvements for NB 7.2

Hi all, today we would like to show you another improvements we have
prepared for NetBeans 7.2. Today, lets talk a little bit about PHPUnit.

First improvement is a new support for PHPUnit Skeleton Generator. Generating unit tests via PHPUnit script itself has been deprecated and the PHPUnit Skeleton Generator should be used. Don't worry, if you don't have PHPUnit Skeleton Generator installed yet, NetBeans falls back to the PHPUnit script.

The setup is as usually, simply install it and open Tools > Options > PHP > Unit Testing:

PHPUnit Skeleton Generator support

The second improvement is support for project specific PHPUnit script. In other words, it is possible to provide a custom PHPUnit script for each PHP project. Simply open Project Properties dialog, select PHPUnit category:

Project specific PHPUnit script

That's all for today, as always, please test it and report all the issues or enhancements you find in NetBeans BugZilla (component php, subcomponent PHPUnit).

Join the discussion

Comments ( 2 )
  • nicholasf Wednesday, February 15, 2012

    Thanks a lot for this, tested in nightly build version: works great !


  • guest Wednesday, April 11, 2012

    OMG incomplete.


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha
 

Visit the Oracle Blog

 

Contact Us

Oracle

Integrated Cloud Applications & Platform Services