定制 adlawson/behat-parallel 二次开发

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

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

adlawson/behat-parallel

Composer 安装命令:

composer require --dev adlawson/behat-parallel

包简介

Parallel Behat proceses

README 文档

README

Parallel

Version: 0.1.0

Run your behat tests in parallel processes. The shell script simply wraps find to iterate through the test directory to get the tests, and xargs to run each test in a separate process. You can still make use of all standard Behat command line arguments.

It can be installed in whichever way you prefer, but I recommend Composer.

{
    "require": {
        "adlawson/behat-parallel": "~0.1.0"
    }
}

Command line

$ behat-parallel -h

    Usage: behat-parallel [options] -- [behat options]

    Options:

        -b, --bin        Behat binary (default: ./vendor/bin/behat)
        -f, --features   Path to the features to run (default ./features/*.feature)
        -h, --help       This help prompt
        -p, --processes  Maximum parallel processes (default: 4)

    Example:

        behat-parallel --features=/path/to/features/**/*.feature -- --tags='@javascript'

Credits

This project was inspired by Linus Norton's grunt-parallel-behat but it can be used in projects without Grunt.

Contributing

I accept contributions to the source via Pull Request. I'm pretty pedantic about git practices, coding style and naming conventions, so don't be offended if I ask you to ammend your commits.

$ make install
$ make tests

If you have Vagrant installed, you can build our dev environment to assist development. The repository will be mounted in /srv.

$ vagrant up
$ vagrant ssh

Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64)
$ cd /srv

License

The content of this library is released under the MIT License by Andrew Lawson.
You can find a copy of this license at http://www.opensource.org/licenses/mit or in LICENSE

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 2
  • 开发语言: Shell

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-09-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固