承接 holyshared/robo-peridot 相关项目开发

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

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

holyshared/robo-peridot

最新稳定版本:2.0.5

Composer 安装命令:

composer require holyshared/robo-peridot

包简介

Robo task for peridot-php

README 文档

README

robo-peridot is a library to run the test of peridot for robo.
Installation of Robo PHP Task Runner will be mandatory to use it.

Latest Stable Version Latest Unstable Version Build Status HHVM Status Coverage Status Dependency Status

Basic Usage

To use a task, you must write code such as the following.
Options that can be used -grep, -no-colors, -reporter, --bail, --configuration.

class RoboFile extends Tasks
{
    use \holyshared\peridot\robo\loadTasks;

    public function coverallsUpload()
    {
        $result = $this->taskPeridot()
		    ->bail()
		    ->directoryPath('spec')
		    ->run();

	    return $result;
    }
}

Specify more than one file

If you specify more than one file, you can use the filePaths method.
The following code is equivalent to peridot spec/foo.php spec/bar.php.

class RoboFile extends Tasks
{
    use \holyshared\peridot\robo\loadTasks;

    public function coverallsUpload()
    {
        $result = $this->taskPeridot()
		    ->filePaths([
		        'spec/foo.php',
		        'spec/bar.php'
		    ])
		    ->run();

	    return $result;
    }
}

Testing robo-peridot

Please try the following command.

composer install
composer test

统计信息

  • 总下载量: 1.04k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 3
  • 依赖项目数: 12
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-04-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固