承接 pedrotroller/circle-parallel-tests-builder 相关项目开发

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

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

pedrotroller/circle-parallel-tests-builder

Composer 安装命令:

composer require pedrotroller/circle-parallel-tests-builder

包简介

Easy way to build parallel sets of tests for Circle CI

README 文档

README

Easy way to build parallel sets of tests for Circle CI

Pitch

This tool will create test suites for you. It's made for circle-ci but you can use it with other tools.

Installation

composer require pedrotroller/circle-parallel-tests-builder --dev

A binary file (circle-tests) have been added to your binary directory.

Configuration

You just have to create a file named circle-tests.yml into your project root directory and follow this pattern :

"<my_test>": <weigth>
"<my_test>": <weigth>
"<my_test>": <weigth>

Where my_test is the command to execute, and weigth is a number representing the weigth of the execution of your command (can be the duration for exemple).

Usage

You can display suites by using the following command :

./bin/circle-tests display -t 3 # Will split your tests into 3 suites

You can launch a suite by using the following command :

./bin/circle-tests -i 0 -t 3 # -i represent the index (0 based) of the desired suite

Circle-CI use case

# ./circle-tests.yml
'bin/behat --no-snippets --tags=~disabled --verbose features/api': 21
'bin/behat --no-snippets --tags=~disabled --verbose features/manager': 50
'bin/phpspec run -fpretty --verbose': 1
'bin/install dev demo': 4
'bin/install prod && app/console doctrine:schema:validate -e=prod': 2
# ./circle.yml
general: # ...

machine: # ...

dependencies: # ...

test:
    override:
        - bin/circle-tests run --index=$CIRCLE_NODE_INDEX --total=$CIRCLE_NODE_TOTAL:
            parallel: true

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-12-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固