Strangely, there doesn’t appear to be a formal Behat/Mink way of dealing with radio button elements. Sometimes you can just click if it has DOM id value, but better to include labels for your radio buttons. Then the code below is reliable radio button selector:-
Read more →
I often thought it would be good to have a Behat_In_The_Future build on CI. Always red, maybe blipping green occasionally, and a constant reminder of work to be done. BDD quickly dissolves into the (just as useful) BDT, or behaviour Driven testing. The enthusiasm for the maintenance of feature files and scenarios, in the drive to do more by consensus quickly dries up. Why Many reasons, but here are a few … Read more →
To start (assuming you already have behat installed), install grunt-parallel-behat using npm:
npm install grunt-parallel-behat
By default the tool will assume the behat.yml is in the same folder as the grunt file and it will run any feature files under the current directory.
To run, execute following within your behat root folder:
Note: This would run as if all tests are to be run in parallel, i.e. 1 per thread – to be specific about batches, and adding behat parameters, below is an annotated example of a working Gruntfile.js:
flags: '--tags @wip'
You can write BDD features how you want, but always observe Gherkin-language approach. Most BDD tools support this language, but this by means means constricts you. You take the base, and build on it. And specifying requirements this way enables taking a common approach easier to maintain. What your product owners and stakeholders need to know is why they are doing them in this way. With Agile, people were used to defining nice easy 3 lines user stories – little interest in the collections of tasks that the team work out in planning, in order to acheive what they believe is the intention.Breaking a user story into features, and broken down into scenarios provide even more direction for development, and just as importantly, highlights risks and potential blockers.
Read more →
When the fashion becomes bigger than the substance in tech world, I naturally resist its pull. The substance gets diluted, re-branded, and owned after lengthy patent suits. The same goes for electronic music, for me. After 1994, when the Criminal Justice Bill pushed parties back into commercial clubs, business worked out ways to clone and market it. Much of dance music in underground scene, provided the drum sounds for the drum machines still used today. Music and tech – standing on shoulders of giants, always.
Take the wonderful world of the web. The first online ad appeared in 1994.
The first tv advertisement appeared for the internet in 1994 …
Read more →