Skip to main content

All Questions

Tagged with
4 votes
2 answers
5k views

BDD, Cucumber best practices

I'm trying to understand some best practices when it comes to BDD and Cucumber. I've only recently started to use it, and the first feature I have written a test for is testing a search feature, more ...
PDStat's user avatar
  • 793
3 votes
3 answers
376 views

Should selenium tests be written in imperative style?

Is an automation tester supposed to know concepts of OOPS and design patterns to write Tests in a way where changes & code re-use are possible? For example, I pick up Java to write cucumber step ...
Amogh Talpallikar's user avatar
2 votes
3 answers
7k views

Should cucumber step definitions in Java be static methods or instance methods?

We are new to using cucumber with selenium to write automated test suites. Our initial approach was to have one java class per feature file. Now we added instance methods in each class for ...
Amogh Talpallikar's user avatar