Easy run phpunit tests in NetBeans IDE
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
data
lib
.gitignore
LICENSE
README.markdown
package.xml

README.markdown

sfPhpunitNetBeansPlugin

Overview

The plugin allows you easily run tests directly in NetBeans IDE with pretty formatted output like:

NetBeans test output

Requirements

Installation

Download:

Git dev:

git clone https://github.com/makasim/sfPhpunitNetbeansPlugin.git

Enable it

class ProjectConfiguration extends sfProjectConfiguration
{
  public function setup()
  {
    $this->enablePlugins('sfPhpunitNetBeansPlugin');
  }
}

Getting Started

The plugin generates phpunit.xml which you can find under the path:

%SF_ROOT_DIR%/plugins/sfPhpunitNetBeansPlugin/data/phpunit.xml

than you should configure NetBeans to use this phpunit.xml file

The example for NetBeans 7.0:

NetBeans phpunit configuration

You are done with it now you can start playing with just select a test file and click SHIFT+F6 to run tests.