behat --colors --my-arg=my-value
Hola quisiera me aclaran una duda sobre el contralador Mink Cheat Sheet. Soy profesora de una universidad y sobre BDD tengo una duda. Si empleo las palabras reservadas de Mink Cheat Sheet, no tengo que implementar los Step Definitions. Por favor me urge
behat --tags=before-setup && behat --tags=after-setup(also because it would be great to have one unified output)
Hello all, I am trying to figure out if I can use custom parameters from .yaml file from one context to another. For ex:
- CustomWebContext: user: asdf pass: 1234 - CustomAPIContext: user: asdf pass: 1234
The problem is: I have 2 context files which use same parameters. Should I define parameters for both context ?
Any help will be appreciated. Thanks all.
Hi all, I'm working on a project that will follow DDD with layers and patterns but I also want to use BDD for acceptance testing outside-in.
With this approach, I wondered whether the Behat scenarios would mainly concentrate on the UI? And what the best practices are?
I've read that ideally we don't want to couple scenarios to a UI that could easily change but I'm not sure what the alternative would be when I want to write scenarios in a TDD fashion before any code/layers/patterns exist. I imagine it'd be quite difficult to write scenarios for DDD related code that does not exist yet whereas the UI is more predictable.
click(), but as the DataTables docs say, "The checkbox is not an <input type="checkbox"> element, but rather a CSS that uses the :before and :after pseudo elements of the cell to draw a box and the tick. "
@ciaranmcnulty Would you write steps inside FeatureContext.php using Application services that don't exist yet so that they fail first in the usual TDD fashion? And then start building them to fix the Behat scenarios?
Or with Behat, would the TDD equivalent be writing the scenarios without steps in the FeatureContext.php so that they fail but build the Application services etc before writing the Behat steps?