Behat/Mink support for BDD?
Posted 20 February 2012 - 10:58 AM
Scenario: User Activated can login
Given exists an activated user called "mario" with email "firstname.lastname@example.org" and password "password"
And I am on "/login"
When I fill in "Username" with "mario"
And I fill in "Password" with "password"
And I press "Login"
Then the response should contain "Welcome, mario!"
Posted 21 February 2012 - 12:51 PM
If it's succesful, then chances are higher that it will make it's way into the official Yii package.
Posted 13 May 2012 - 08:43 AM
btw, I didn't use behat with yii, but it shouldn't be a problem just to run behat on yii project: you just need to configure autoloader and provide yii app instance for the behat context
Posted 02 October 2012 - 11:42 PM
There isn't much info on Behat (you have to understand it / teach yourself how to use it), but the Boilerplate has Behat pre-setup and ready to use, along with all the Mink drivers