Is it acceptable to write a “Given When Then When Then” test in Gherkin?

It depends on the target audience of the feature as written. It seems highly likely that the gherkin you’ve got there was not written with a stakeholder (i.e. somebody not-techie but has a vested interest in the business and the website). BDD is really about the conversation about requirements and expectations – and Gherkin is … Read more

Are there any non-developer tools to edit gherkin files? [closed]

Here is a non-developer tool. We had a similar requirement and I wanted to have a stab at creating a Chrome extension. It’s free and there are no ads. Above all it is cross-platform and requires no technical knowledge to install and run. https://chrome.google.com/webstore/detail/tidy-gherkin/nobemmencanophcnicjhfhnjiimegjeo I know this is an old post, but I came across … Read more

Codeception, write acceptance tests with the pageObject design pattern and gherkin

I get “not found in contexts” warnings in my shell Ok, how to link gherkin files execution with steps defined in my own contexts classes (PageObjects, StepObjects, …)? We can read chapter “BDD > Configuration” in Codeception documentation: As we mentioned earlier, steps should be defined inside context classes. By default all the steps are … Read more