Keep your Gherkin feature files consistent in layout, take the pain out of table formatting and cucumber step generation
Tidy Gherkin Application
> 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
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
throw new PendingException();
}
Or for Ruby:
Then /^the customer sees \\\"([^\\\"]*)\\\" in their history$/ do |transaction1transaction2|
# do something
end
Source Manifest.json
Similar Extensions
GoFullPage - Full Page Screen Capture 20,000+ 77052 ★ 1.81MiB
ColorZilla 20,000+ 3845 ★ 410KiB
JSON Formatter 20,000+ 1859 ★ 19.86KiB
User-Agent Switcher for Chrome 20,000+ 2631 ★ 132KiB
Lighthouse 20,000+ 318 ★ 50.7KiB
Similarweb - Website Traffic & SEO Checker 20,000+ 3255 ★ 1.19MiB
SEOquake 20,000+ 2529 ★ 1.5MiB
Clear Cache 20,000+ 1124 ★ 616KiB
Selenium IDE 20,000+ 286 ★ 3.96MiB
ModHeader - Modify HTTP headers 20,000+ 1061 ★ 676KiB
Postman Interceptor 20,000+ 957 ★ 478KiB
SEO META in 1 CLICK 20,000+ 1108 ★ 462KiB
Stylus 20,000+ 1101 ★ 1.01MiB
CSS Peeper 20,000+ 363 ★ 279KiB
daily.dev | The homepage developers deserve 20,000+ 2460 ★ 2.28MiB
WhatRuns 20,000+ 398 ★ 290KiB
Color Picker for Chrome™ 20,000+ 118 ★ 194KiB
BuiltWith Technology Profiler 20,000+ 407 ★ 54.1KiB
SelectorsHub - XPath Helper 20,000+ 1384 ★ 556KiB
Fake Filler 20,000+ 752 ★ 536KiB
Detailed SEO Extension 20,000+ 193 ★ 266KiB
Responsive Viewer 20,000+ 298 ★ 639KiB
Grepper 20,000+ 405 ★ 1.41MiB
JSON Viewer Pro 20,000+ 137 ★ 349KiB