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).

Comments:

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

Posted by nicholasf on February 15, 2012 at 05:58 PM CET #

OMG incomplete.

Posted by guest on April 12, 2012 at 12:28 AM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

This blogs is written by NetBeans developers who contribute to the PHP support mainly.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today