php:phpunit

Full name:

org.phpmaven:maven-php-plugin:1.1-SNAPSHOT:phpunit

Description:

PHPUnit executes phpunit TestCases and generate SourceFire Reports.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Requires dependency resolution of artifacts in scope: test.

Required Parameters

Name Type Since Description
phpExe String - Path to the php executable.
sourceDirectory String - The php source folder.
testDirectory String - The test source Folder.

Optional Parameters

Name Type Since Description
compileArgs String - PHP Compile args. Use php -h to get a list of all php compile arguments.
excludes String[] - (no description)
forceOverwrite boolean - if true php maven will allways overwrite existing php files in the classes folder even if the files in the target folder are newer or at the same date
includes String[] - (no description)
testFile String - If the parameter is set only this testFile will run. NB: do not specify the file path. Only specify the file name.

Parameter Details

compileArgs:

PHP Compile args. Use php -h to get a list of all php compile arguments.
  • Type: java.lang.String
  • Required: No

excludes:

(no description)
  • Type: java.lang.String[]
  • Required: No

forceOverwrite:

if true php maven will allways overwrite existing php files in the classes folder even if the files in the target folder are newer or at the same date
  • Type: boolean
  • Required: No
  • Expression: false

includes:

(no description)
  • Type: java.lang.String[]
  • Required: No

phpExe:

Path to the php executable.
  • Type: java.lang.String
  • Required: Yes
  • Expression: php

sourceDirectory:

The php source folder.
  • Type: java.lang.String
  • Required: Yes
  • Expression: /src/main/php

testDirectory:

The test source Folder.
  • Type: java.lang.String
  • Required: Yes
  • Expression: /src/test/php

testFile:

If the parameter is set only this testFile will run. NB: do not specify the file path. Only specify the file name.
  • Type: java.lang.String
  • Required: No