Keep your Gherkin feature files consistent in layout, take the pain out of table formatting and cucumber step generation

Latest Version

Version
0.4.6
Update
March 8, 2019
Size
304KiB
Developer
Category
Users
20,000+
Rating
4.28814 ★
Manifest Version
2
Web Store Status
Languages Support
English (UK)
See more
Permissions
SyncFileSystem
FileSystem:
0: - write
1: - retainEntries
2: - directory
Storage
See more

Tidy Gherkin Application

Allows users to:

> Get started on a feature file quickly with a template.
> Create feature files with a consistent layout.
> Preview and quickly apply formatting changes to scenarios.
> See tips on correct syntax and see syntax highlighting as they type.
> Easily create scenario outline tables with automatic column formatting.
> Save/Open/Create feature files directly from Tidy Gherkin.
> Generate Cucumber for Java/Ruby/Javascript step definitions from your Gherkin feature file

-----------------------------

New in this version:

+ New feature: New feature: Support for auto-generation of Javascript step definitions.

Feedback appreciated as always.

-----------------------------

Just start typing your gherkin or paste in what you have already. As you type you can preview the tidied output below and either click 'Tidy' or hit Ctrl+Enter to tidy what you have so far.

Don't spend time trying to align all the pipes in your Scenario Outline table - just generate a table using the tool, roughly populate it with values and hit 'Tidy' to get that perfect alignment. If adding another row, just click the 'Insert Row After' button.

If you would like to generate some cucumber for Java step definitions, hit the 'JAVA STEPS' tab, or, for Ruby step definitions, hit the 'RUBY STEPS' tab.

As an example, the following Gherkin:

Given I have a new customer

Would generate the Java:

@Given(\"^I have a new (.+) customer$\")
public void i_have_a_new_customer(String customertype) throws Throwable {
throw new PendingException();
}

And the following Ruby:

Given /^I have a new (.+) customer$/ do |customertype|
# do something
end

The generator will look for:

Parameters (for use with Example tables) such as
Strings such as \"customerA\"
Lists of strings such as \"customer1,customer2\"

In each case the appropriate regular expression and annotation will be constructed for the generated Java method.

Further examples:

When customer \"customerA\" logs in

Generates:

@When(\"^customer \\\"([^\\\"]*)\\\" logs in$\")
public void customer_something_logs_in(String strArg1) throws Throwable {
throw new PendingException();
}

Or for Ruby:

When /^customer \\\"([^\\\"]*)\\\" logs in$/ do |customera|
# do something
end
\t
And:

Then the customer sees \"transaction1,transaction2\" in their history
\t
Generates:

@Then(\"^the customer sees \\\"([^\\\"]*)\\\" in their history$\")
public void the_customer_sees_something_in_their_history(List list1) throws Throwable {
throw new PendingException();
}

Or for Ruby:

Then /^the customer sees \\\"([^\\\"]*)\\\" in their history$/ do |transaction1transaction2|
# do something
end
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Tidy Gherkin", "version": "0.4.6",\t"minimum_chrome_version": "31", "manifest_version": 2, "description": "Keep your Gherkin feature files consistent in layout, take the pain out of table formatting and cucumber step generation", "app": {\t\t"background": {\t\t"scripts": [\t\t"js/background.js"\t\t]\t\t}\t}, "icons": { "16": "icons/icon16.png", "48": "icons/icon48.png", "128": "icons/icon128.png" },\t"permissions": ["syncFileSystem", {"fileSystem": ["write", "retainEntries", "directory"]}, "storage"], "file_handlers": { "text": { "types": [ "text/feature" ],\t "extensions": [ "feature" ] } }}
Read more

Similar Extensions

icon

GoFullPage - Full Page Screen Capture Extension · Developer Tools 20,000+ 77052 ★ 1.81MiB

icon

ColorZilla Extension · Developer Tools 20,000+ 3845 ★ 410KiB

icon

JSON Formatter Extension · Developer Tools 20,000+ 1859 ★ 19.86KiB

icon

User-Agent Switcher for Chrome Extension · Developer Tools 20,000+ 2631 ★ 132KiB

icon

Lighthouse Extension · Developer Tools 20,000+ 318 ★ 50.7KiB

icon

Similarweb - Website Traffic & SEO Checker Extension · Developer Tools 20,000+ 3255 ★ 1.19MiB

icon

SEOquake Extension · Developer Tools 20,000+ 2529 ★ 1.5MiB

icon

Clear Cache Extension · Developer Tools 20,000+ 1124 ★ 616KiB

icon

Selenium IDE Extension · Developer Tools 20,000+ 286 ★ 3.96MiB

icon

ModHeader - Modify HTTP headers Extension · Developer Tools 20,000+ 1061 ★ 676KiB

icon

Postman Interceptor Extension · Developer Tools 20,000+ 957 ★ 478KiB

icon

SEO META in 1 CLICK Extension · Developer Tools 20,000+ 1108 ★ 462KiB

icon

Stylus Extension · Developer Tools 20,000+ 1101 ★ 1.01MiB

icon

CSS Peeper Extension · Developer Tools 20,000+ 363 ★ 279KiB

icon

daily.dev | The homepage developers deserve Extension · Developer Tools 20,000+ 2460 ★ 2.28MiB

icon

WhatRuns Extension · Developer Tools 20,000+ 398 ★ 290KiB

icon

Color Picker for Chrome™ Extension · Developer Tools 20,000+ 118 ★ 194KiB

icon

BuiltWith Technology Profiler Extension · Developer Tools 20,000+ 407 ★ 54.1KiB

icon

SelectorsHub - XPath Helper Extension · Developer Tools 20,000+ 1384 ★ 556KiB

icon

Fake Filler Extension · Developer Tools 20,000+ 752 ★ 536KiB

icon

Detailed SEO Extension Extension · Developer Tools 20,000+ 193 ★ 266KiB

icon

Responsive Viewer Extension · Developer Tools 20,000+ 298 ★ 639KiB

icon

Grepper Extension · Developer Tools 20,000+ 405 ★ 1.41MiB

icon

JSON Viewer Pro Extension · Developer Tools 20,000+ 137 ★ 349KiB