These are chat archives for Behat/Behat
@everzet @ciaranmcnulty @stof
Hello, can some one please advice how to use context and manage step definitions properly?
so what are the possible and right context should exist for app features?
for ex. simple features are:
From what I can see there are can be the following separations
by user role context
Given I can see "Behat docs" book name in the products listing in AdminContext
Given I can see "Behat docs" book in "Tech books" catalog in CustomerContext
by feature context
CatalogContext, ProductContext etc.
and to split all step definition by it's context.
Then the product name is "Behat docs" in ProductContext