cucumber - 德语中包含 Gherkin 关键字的 Codeception

标签 cucumber bdd codeception gherkin

如何配置 Codeception 以使用德语中的 Gherkin 关键字?

I know that this is possible in Cucumber.

可能吗?

最佳答案

看起来 Codeception 支持语言声明的标准 Gherkin 语法 in the first line场景文件:

#language: de

Gherkin-supported keywords的列表太大,无法在此列出,但包括用于简单场景的这些:

Feature - Funktionalität
Scenario - Szenario
Given - Angenommen / Gegeben Sei / Gegeben Seien
When - Wenn
Then - Dann
And - Und
But - Aber

关于cucumber - 德语中包含 Gherkin 关键字的 Codeception,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50669812/

相关文章:

javascript - Buster JS - BDD 风格 - 设置规范超时

php - 测试PDF文件Codeception

laravel-4 - Codeception中的验收测试是否应该在测试环境中运行? (Laravel4 +代码接收)

java - cucumber-jvm junit 报告和 maven-surefire-plugin

ruby - cucumber 访问场景中的所有步骤

java - Cucumber 场景断言 DataTable 中的条件

ruby-on-rails - TDD/BDD 特别适用于 Rails 应用程序

testing - 如何编写此 BDD 脚本?

php - Codeception4 : GroupManager reports missing test file

cucumber - 如何在 cucumber 中使用 watir-webdriver 测试 404 错误?