2017 © Pedro Peláez
 

library kawaii-gherkin

A small library to check and fix annoying gherkin code style

image

malukenho/kawaii-gherkin

A small library to check and fix annoying gherkin code style

  • Wednesday, April 18, 2018
  • by malukenho
  • Repository
  • 4 Watchers
  • 44 Stars
  • 53,022 Installations
  • PHP
  • 3 Dependents
  • 2 Suggesters
  • 6 Forks
  • 3 Open issues
  • 7 Versions
  • 14 % Grown

The README.md

Kawaii Gherkin

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

Kawaii Gherkin is a small tool to fix and verify gherkin code style., (*2)

Installing

$ composer require --dev malukenho/kawaii-gherkin

Analyzing code

To analyze code style, simple run:, (*3)

$ vendor/bin/kawaii gherkin:check [--align [right|left]] <directory>

Fixing code

To fix code style, simple run:, (*4)

$ 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

The Versions

18/04 2018

dev-master

9999999-dev https://github.com/malukenho/kawaii-gherkin

A small library to check and fix annoying gherkin code style

  Sources   Download

MIT

The Requires

 

The Development Requires

gherkin code style code standard

02/12 2016

dev-refactoring-kawaii-binary

dev-refactoring-kawaii-binary https://github.com/malukenho/kawaii-gherkin

A small library to check and fix annoying gherkin code style

  Sources   Download

MIT

The Requires

 

The Development Requires

gherkin code style code standard

05/11 2016

dev-bugfix/keep-language-when-fix-or-check-cs

dev-bugfix/keep-language-when-fix-or-check-cs https://github.com/malukenho/kawaii-gherkin

A small library to check and fix annoying gherkin code style

  Sources   Download

MIT

The Requires

 

The Development Requires

gherkin code style code standard

31/03 2016

0.1.3

0.1.3.0 https://github.com/malukenho/kawaii-gherkin

A small library to check and fix annoying gherkin code style

  Sources   Download

MIT

The Requires

 

The Development Requires

gherkin code style code standard

08/02 2016

0.1.2

0.1.2.0 https://github.com/malukenho/kawaii-gherkin

A small library to check and fix annoying gherkin code style

  Sources   Download

MIT

The Requires

 

The Development Requires

gherkin code style code standard

01/02 2016

0.1.1

0.1.1.0 https://github.com/malukenho/kawaii-gherkin

A small library to fix annoying gherkin code style

  Sources   Download

MIT

The Requires

 

The Development Requires

gherkin code style code standard

01/02 2016

0.1.0

0.1.0.0 https://github.com/malukenho/kawaii-gherkin

A small library to fix annoying gherkin code style

  Sources   Download

MIT

The Requires

 

The Development Requires

gherkin code style code standard