дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-06 10:07:11 +02:00
feat(cucumber): cucumber-jvm step definitions in Java and Kotlin (#3690)
Step navigation, the Undefined step inspection and Create step definition cover cucumber-jvm: @Given("…") annotations and Java 8 lambdas in .java / .kt files are scanned and matched, and string patterns anchored with ^ or $ read as regular expressions. Created definitions in Java / Kotlin are annotated methods in the class with {int} / {double} / {string} parameters, cucumber-jvm method names and the keyword's io.cucumber.java.en import.
Refs #797
Цей коміт міститься в:
1 джерело
f4469a2f53
коміт
efc1e607b8
8 files changed
+272
-40
No files matched your search
@@ -330,7 +330,7 @@ export const BUILTIN_INSPECTIONS: readonly BuiltinInspection[] = [
|
||||
name: "Undefined step",
|
||||
group: "Gherkin",
|
||||
description:
|
||||
"Reports steps of a .feature file that no step definition of the project's JavaScript or TypeScript files matches (Cucumber expressions and regular expressions). Projects without step definitions in those files are not checked. Alt+Enter creates the definition.",
|
||||
"Reports steps of a .feature file that no step definition of the project matches (Cucumber expressions and regular expressions, in JavaScript, TypeScript, Java and Kotlin files). Projects without step definitions in those files are not checked. Alt+Enter creates the definition.",
|
||||
defaultLevel: "warning",
|
||||
},
|
||||
{
|
||||
|
||||
@@ -2031,6 +2031,6 @@
|
||||
"Undefined step reference: {text}": "Undefined step reference: {text}",
|
||||
"Create Step Definition": "Create Step Definition",
|
||||
"Create step definition '{text}'": "Create step definition '{text}'",
|
||||
"Reports steps of a .feature file that no step definition of the project's JavaScript or TypeScript files matches (Cucumber expressions and regular expressions). Projects without step definitions in those files are not checked. Alt+Enter creates the definition.": "Reports steps of a .feature file that no step definition of the project's JavaScript or TypeScript files matches (Cucumber expressions and regular expressions). Projects without step definitions in those files are not checked. Alt+Enter creates the definition.",
|
||||
"Undefined step": "Undefined step"
|
||||
"Undefined step": "Undefined step",
|
||||
"Reports steps of a .feature file that no step definition of the project matches (Cucumber expressions and regular expressions, in JavaScript, TypeScript, Java and Kotlin files). Projects without step definitions in those files are not checked. Alt+Enter creates the definition.": "Reports steps of a .feature file that no step definition of the project matches (Cucumber expressions and regular expressions, in JavaScript, TypeScript, Java and Kotlin files). Projects without step definitions in those files are not checked. Alt+Enter creates the definition."
|
||||
}
|
||||
@@ -8418,6 +8418,6 @@
|
||||
"Undefined step reference: {text}": "未定义的步骤引用:{text}",
|
||||
"Create Step Definition": "创建步骤定义",
|
||||
"Create step definition '{text}'": "创建步骤定义“{text}”",
|
||||
"Reports steps of a .feature file that no step definition of the project's JavaScript or TypeScript files matches (Cucumber expressions and regular expressions). Projects without step definitions in those files are not checked. Alt+Enter creates the definition.": "报告 .feature 文件中没有任何步骤定义匹配的步骤(按项目 JavaScript 或 TypeScript 文件中的 Cucumber 表达式和正则表达式匹配)。这些文件里没有步骤定义的项目不做检查。按 Alt+Enter 可创建定义。",
|
||||
"Undefined step": "未定义的步骤"
|
||||
"Undefined step": "未定义的步骤",
|
||||
"Reports steps of a .feature file that no step definition of the project matches (Cucumber expressions and regular expressions, in JavaScript, TypeScript, Java and Kotlin files). Projects without step definitions in those files are not checked. Alt+Enter creates the definition.": "报告 .feature 文件中项目里没有任何步骤定义匹配的步骤(按 JavaScript、TypeScript、Java 和 Kotlin 文件中的 Cucumber 表达式和正则表达式匹配)。这些文件里没有步骤定义的项目不做检查。按 Alt+Enter 可创建定义。"
|
||||
}
|
||||
Reference in new issue
Заблокувати користувача