sfPhpunitNetbeansPlugin - 1.0.0

Easy run phpunit tests in NetBeans IDE

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to the Plugins Home

Signin


Forgot your password?
Create an account

Tools

Stats

advanced search
Information Readme Releases Changelog Contribute
Show source

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.