mardi 26 janvier 2016

Design pattern for dealing with reusage of date in scenarios (BDD)

I would like your suggestion for my scenario:

I am implementing automated tests using bdd technique with Cucumber and Selenium WebDriver tools, what is currently happening is: a lot of scenarios depend of data of each other, so right now I am storing these data in the class I define the steps, so I can use in other scenarios.

But, as the application grows, and the more scenario I get, the more mess my application gets.

Do you have any design pattern, or solution I could use in this case?

Aucun commentaire:

Enregistrer un commentaire