承接 matthiasnoback/gherkin-features-html-exporter 相关项目开发

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

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

matthiasnoback/gherkin-features-html-exporter

Composer 安装命令:

composer require matthiasnoback/gherkin-features-html-exporter

包简介

A tool for exporting Gherkin features to HTML

README 文档

README

This library uses behat/gherkin (which is also used by Behat) to parse .feature files and renders HTML pages that you can style yourself, export to PDF, and show to other stakeholders.

Getting started

Install using Composer:

composer require --dev matthiasnoback/gherkin-features-html-exporter

Usage

vendor/bin/export-gherkin [features/] [export/] --stylesheet style.css

The stylesheet is optional and should be present in the provided [export/] directory.

For each .feature file in [features/] a corresponding .html file will be generated in [export/].

Combine features by tag

Another way to use this tool is to combine all features with a given tag in a single .html file named by that tag:

vendor/bin/export-gherkin [features/] [export/] --stylesheet style.css --tag wip

This will find all features tagged @wip and store them in a file called [export/]wip.html.

Reformat HTML

There's an option to reformat the HTML before saving it:

vendor/bin/export-gherkin [features/] [export/] --reformat

Demo

You'll find an example.feature in the demo folder, together with its generated example.html. The style.css can be used as an example stylesheet. example.html was generated by running:

bin/export-gherkin demo demo --stylesheet style.css --reformat

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-04-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固