2017 © Pedro Peláez
 

library netbeans-phpunit-support

This package provides another phpunit support to netbeans than the original one.

image

brickie-toolshed/netbeans-phpunit-support

This package provides another phpunit support to netbeans than the original one.

  • Sunday, November 15, 2015
  • by eviweb
  • Repository
  • 1 Watchers
  • 1 Stars
  • 40 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Netbeans Phpunit Support

This package provides another phpunit support to netbeans than the original one., (*1)

Health status

Travis CI - Build Status Github - Last tag, (*2)

Supported PHPUnit versions

  • version 0.1.0 supports PHPUnit 4
  • version 0.2.1 supports PHPUnit >= 7 but < 9
  • version 0.3.0 supports PHPUnit >= 9

Installation

Locally

Run composer require brickie-toolshed/netbeans-phpunit-support:[VERSION] within your project directory., (*3)

Where [VERSION] is one of the versions above., (*4)

Globally

Run composer global require brickie-toolshed/netbeans-phpunit-support:[VERSION] within your project directory., (*5)

Where [VERSION] is one of the versions above., (*6)

NetBeans configuration

  1. create a phpunit configuration file named phpunit.xml at the root of your project directory
  2. enable phpunit support in the NetBeans Project Properties > Testing panel
  3. check the Use Custom Test Suite checkbox in the NetBeans Project Properties > Testing > PHPUnit panel
  4. click Browse... and select the test suite provider file: ./src/TestSuiteProvider.php of this package
  5. click OK

Note
you can specify the path of a custom phpunit configuration file using TestSuiteProvider::setConfigurationFile("/path/to/config.xml") method in a bootstrap file, (*7)

Why this package

The TestSuiteProvider class uses the test suite set in your phpunit configuration file.
The default behaviour of the NetBeansSuite class provided by NetBeans is to create the test suite by looking for files in the test directory.
The problem is that the test case lookup lies on hard coded file naming patterns and the phpunit configuration file is not used., (*8)

License

This project is licensed under the terms of the MIT License, (*9)

The Versions

15/11 2015

dev-master

9999999-dev

This package provides another phpunit support to netbeans than the original one.

  Sources   Download

MIT

The Development Requires

15/11 2015

v0.1.0

0.1.0.0

This package provides another phpunit support to netbeans than the original one.

  Sources   Download

MIT

The Development Requires