André Wuttig
André Wuttig

Reputation: 148

Codeception with Gherkin keywords in German

How can I configure Codeception to use Gherkin keywords in German?

I know that this is possible in Cucumber.

Is it possible?

Upvotes: 2

Views: 375

Answers (1)

Lunivore
Lunivore

Reputation: 17637

It looks as if Codeception supports the standard Gherkin syntax for language declaration in the first line of the scenario file:

#language: de

The list of Gherkin-supported keywords is too big to list here, but includes these used for simple scenarios:

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

Upvotes: 3

Related Questions