承接 bitwasp/testing-php 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

bitwasp/testing-php

最新稳定版本:v0.1.1

Composer 安装命令:

composer require bitwasp/testing-php

包简介

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

README 文档

README

Composer package for PHP unit testing tools, using Phing for Jenkins or local development Includes:

  • pdepend
  • phpmd
  • phpunit
  • phpcs / phpcbf

Installation:

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

composer require bitwasp/testing-php

or add it to your composer.json:

    "require": {
        "bitwasp/testing-php": "@stable"
    }
...

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.

<?xml version="1.0" encoding="UTF-8"?>

<project name="YOUR-PACKAGE-NAME" default="build">

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

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

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.

统计信息

  • 总下载量: 11.34k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 8
  • 点击次数: 0
  • 依赖项目数: 5
  • 推荐数: 0

GitHub 信息

  • Stars: 8
  • Watchers: 3
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-04-19