2017 © Pedro Peláez
 

library testing-php

Composer package which includes most common development & testing software for PHP, and a sample build.xml for phing

image

bitwasp/testing-php

Composer package which includes most common development & testing software for PHP, and a sample build.xml for phing

  • Tuesday, January 5, 2016
  • by thomaskerin
  • Repository
  • 3 Watchers
  • 8 Stars
  • 10,905 Installations
  • 5 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 6 Versions
  • 2 % Grown

The README.md

testing-php

Composer package for PHP unit testing tools, using Phing for Jenkins or local development Includes: - pdepend - phpmd - phpunit - phpcs / phpcbf, (*1)

Installation:

This package should be installed via composer, which takes care of loading dependencies appropriate for your build., (*2)

composer require bitwasp/testing-php, (*3)

or add it to your composer.json: ```... "require": { "bitwasp/testing-php": "@stable" } ..., (*4)


### Usage: Build targets can be run by calling: `phing <target>` Review build.xml for the targets you can run against your code. #### Import this build script: The simplest way to get started is to import this projects build.xml file in your own build.xml. The only thing you need to change here is YOUR-PACKAGE-NAME. The rest of the file simply configures the binary tools directory, which you must change if you keep them somewhere other than the composer default (vendor/bin) The builddir should be kept the same.

, (*5)

<property name="toolsdir" value="${project.basedir}/vendor/bin"/>
<property name="builddir" value="${project.basedir}/build/"/>

<import file="vendor/bitwasp/testing-php/build.xml" />

```, (*6)

Or roll your own:

Refer to the build.xml, or the documentation of the respective tools. You can import the default build.xml and extend it with your own functionality as required, or take whatever interests you., (*7)

The Versions

05/01 2016

dev-master

9999999-dev https://github.com/Bit-Wasp/testing-php

Composer package which includes most common development & testing software for PHP, and a sample build.xml for phing

  Sources   Download

The Requires

 

05/01 2016

v0.1.1

0.1.1.0 https://github.com/Bit-Wasp/testing-php

Composer package which includes most common development & testing software for PHP, and a sample build.xml for phing

  Sources   Download

The Requires