定制 bex/behat-skip-tests 二次开发

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

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

bex/behat-skip-tests

最新稳定版本:1.2.0

Composer 安装命令:

composer require bex/behat-skip-tests

包简介

Extension for behat to enable skipping tests without excluding them from the output

README 文档

README

License Latest Stable Version Scrutinizer Code Quality Build Status Build Status

Behat-SkipTestsExtension allows you to skip tests without excluding them from the output.

Installation

Install by adding to your composer.json:

composer require --dev bex/behat-skip-tests

Configuration

Enable the extension in behat.yml like this:

default:
  extensions:
    Bex\Behat\SkipTestsExtension: ~

You can disable the scenario skipping like this:

default:
  extensions:
    Bex\Behat\SkipTestsExtension:
      skip_scenarios: false

You can disable the feature skipping like this:

default:
  extensions:
    Bex\Behat\SkipTestsExtension:
      skip_features: false

You can configure the skip tags like this:

default:
  extensions:
    Bex\Behat\SkipTestsExtension:
      skip_tags: ['myawesometag'] # default: ['pending', 'skip']

Usage

Add a skip tag to any scenario to skip all steps within that scenario. By default you can use the @pending or @skip tags to skip a scenario, but you can configure your own skip tags as well (see configuration above).

See example in this feature file.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-05-09