-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5897eb7
commit c5f06cd
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
title: Gherkin | ||
permalink: pmd_languages_gherkin.html | ||
--- | ||
|
||
The [Gherkin](https://cucumber.io/docs/gherkin/) language is used to define test cases for the [Cucumber](https://cucumber.io/) testing tool for behavior-driven development. The Gherkin syntax is designed to be | ||
non-technical, making it human-readable for a wide audience. | ||
|
||
## Support in PMD | ||
Starting from version 6.48.0, Gherkin support was added to CPD. | ||
|
||
### Limitations | ||
- Support for Gherkin only extends to CPD to detect code duplication in Cucumber test cases. | ||
- While Gherkin keywords have been translated into various | ||
languages, CPD currently supports only the English version of the Gherkin language. |