GherKing is a tool to make Gherkin smarter! It allows you to handle Cucumber/Gherkin feature files programmatically, in your JavaScript/TypeScript code.
-
Updated
Oct 9, 2024 - TypeScript
GherKing is a tool to make Gherkin smarter! It allows you to handle Cucumber/Gherkin feature files programmatically, in your JavaScript/TypeScript code.
Tool to format gherkin-ast model to gherkin string
JS model for Gherkin feature files to build and work with feature files in your code, using an AST.
Tool to read/write Gherkin feature files and to work with Gherkin-AST
A precompiler of GherKing to loop scenarios and scenario outlines to repeat them.
This precompiler can load external data (JSON, CSV, or XLS/XLSX) into exmaples table.
The ScenarioNumbering precompiler is responsible for adding an index to all scenarios and scenario outlines.
Template for a GherKing precompiler
This precompiler is responsible for converting Scenario Outlines to single Scenarios as Cucumber would do and adds the first column as a tag.
The Filter precompiler is responsible for including or excluding the elements of a feature file in the result, which match a cucumber-tag-expression (e.g., has a given tag, does not have a given tag)
This precompiler is responsible for defining macros in feature files and then executing them.
End-to-end test automation framework for online shop built with Cypress and JavaScript that follows Page Object Model (POM) design pattern.
This precompiler can be used to inject License statement into the feature files.
This precompiler removes all or particular type of semantic comments from the feature file.
This precompiler can add numbering column to Examples tables, and apply formatting to the name of the Scenario Outline.
The StepGroups precompiler is responsible for correcting the gherkin keywords of steps to make the tests more readable.
The RemoveDuplicates precompiler is responsible for having only a reasonable amount of tags and/or rows in each feature file.
The Replacer precompiler is responsible for exchanging predefined strings in the feature files. It inserts the provided text in the place held for them.
Add a description, image, and links to the gherking topic page so that developers can more easily learn about it.
To associate your repository with the gherking topic, visit your repo's landing page and select "manage topics."