承接 forceedge01/bdd-analyser 相关项目开发

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

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

forceedge01/bdd-analyser

最新稳定版本:2.2.0

Composer 安装命令:

composer require forceedge01/bdd-analyser

包简介

Analyse bdd scripts and find issues with detailed information and how to address these issues to prolong the longevitiy of your behaviour suite

README 文档

README

Perform static analysis on your cucumber/gherkin styles bdd scripts and remediate issues that will prolong the life your test suite.

This tool is meant to be language agnostic (even though written in PHP7) and expected to work with any cucumber/gherkin style files.

Here is an example of a basic run:

Run

Html report:

Run

  • Summary of analysis.
  • Segmented data view.
  • Track your fixes as you resolve them.

Install

Detailed setup blog post https://inevitabletech.uk/blog/static-analysis-for-your-bdd-scripts/

Quick Installation:

composer global require forceedge01/bdd-analyser

Initialise config file to root of project, setup includes the kind of files you want to scan and the rules you want applied.

Example run:

bdd-analyser init
bdd-analyser scan . --config=.

The above command will lint the features folder.

Configure the bdd-analyser-config.yaml file with the extension of the files that contain the cucumber/gherkin scripts.

    feature_file_extension: feature

Major change

  • PHP version 8.0 compatible.

Development

make install

Adding new rules is as simple as creating a new class and extending it from the BaseRule class which implements the necessary interface and abstraction.

namespace MyApp\BddScriptRules;

use Forceedge01\BDDStaticAnalyserRules\Entities;
use Forceedge01\BDDStaticAnalyserRules\Rules;

class MyRule extends Rules\BaseRule {

}

Then simply add your new class to the bdd-analyser-config.yaml rules array.

    ...
    rules:
        ...
        - MyApp\BddScriptRules\MyRule
    ...

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-01-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固