malukenho/kawaii-gherkin
最新稳定版本:1.0.0
Composer 安装命令:
composer require malukenho/kawaii-gherkin
包简介
A small library to check and fix annoying gherkin code style
README 文档
README
Kawaii Gherkin is a small tool to fix and verify gherkin code style.
Installing
$ composer require --dev malukenho/kawaii-gherkin
Analyzing code
To analyze code style, simple run:
$ vendor/bin/kawaii gherkin:check [--align [right|left]] <directory>
Fixing code
To fix code style, simple run:
$ vendor/bin/kawaii gherkin:fix [--align [right|left]] <directory>
Example
Before
@users @another-feature @kawaii Feature: User registration In order to order products As a visitor I need to be able to create an account in the store Background: Nice Background Given store has default configuration And there are following users: | email | password | | bar@bar.com | foo1sasdasdasdadsasd | And the following customers exist: | email | | customer@email.com | And the following zones are defined: | name | type | members | | Poland | country | Poland | And the following orders exist: | customer | address | | customer@email.com | Jan Kowalski, Wawel 5 , 31-001, Kraków, Poland |
After
@users @another-feature @kawaii Feature: User registration In order to order products As a visitor I need to be able to create an account in the store Background: Nice Background Given store has default configuration And there are following users: | email | password | | bar@bar.com | foo1sasdasdasdadsasd | And the following customers exist: | email | | customer@email.com | And the following zones are defined: | name | type | members | | Poland | country | Poland | And the following orders exist: | customer | address | | customer@email.com | Jan Kowalski, Wawel 5 , 31-001, Kraków, Poland |
Author
- Jefersson Nathan (@malukenho)
统计信息
- 总下载量: 95.18k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 50
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 5
其他信息
- 授权协议: MIT
- 更新时间: 2016-01-28