定制 jim-moser/zf2-validators-empty-or-test 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

jim-moser/zf2-validators-empty-or-test

Composer 安装命令:

composer require jim-moser/zf2-validators-empty-or-test

包简介

Unit testing for jim-moser/zf2-validators-empty-or package.

README 文档

README

#Overview

This package contains the unit tests for the jim-moser/zf2-validators-empty-or package. The unit tests were separated from the zf2-validators-empty-or package to make it easier for the package user to select whether they want to install the unit tests or not. This also makes it easier to uninstall only the tests at a later time if desired.

This package depends on the zf2-validators-empty-or package so adding this package to the "require" field of a composer.json file will instruct Composer to install both this package and the zf2-validators-empty-or package.

Related packages:

A brief description of the related packages listed above can be found in the README.md file for the jim-moser/zf2-validators-empty-or package.

#Installation

##Alternative 1: Installation with Composer

  1. For an existing Laminas Framework installation, move into the parent of the vendor directory. This directory should contain an existing composer.json file. For a new installation, move into the directory you would like to contain the vendor directory.

     $ cd <parent_path_of_vendor>	
    
  2. Run the following command which will update the composer.json file, install the zf2-validators-empty-or-plugin-test package and its dependencies into their respective directories under the vendor directory, and update the composer autoloading files.

     $ composer require jim-moser/zf2-validators-empty-or-test
    

##Alternative 2: Manual Installation to Vendor Directory

If you would like to install the packages manually and use a Module.php file to configure autoloading instead of using Composer to configure autoloading then use the jim-moser/zf2-validators-empty-or-plugin-test package instead of this package. Follow the instructions in the README.md file of that package.

#Unit Testing

After installation unit testing can be run immediately from the vendor/jim-moser/zf2-validators-empty-or-test directory as follows:

$ cd <vendor_directory>/jim-moser/zf2-validators-empty-or-test
$ ../../phpunit/phpunit/phpunit

The second command above calls phpunit from the phpunit package installed under the vendor directory instead of any phpunit executable which may be installed system wide. This is done to ensure the version of PHPUnit executed is one that meets the version requirements specified in the composer.json file.

统计信息

  • 总下载量: 23
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2016-09-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固