Jazzy Coding

The Art of Structured Improvisation. By Carsten Nielsen

Tag Archives: behat

Userstories: google+ circle intersections

As a g+ user
I want to create intersections of circles
So that I can manage my recipients fast and effective

Scenario: Send stream to intersection

Given I am creating a post
And I have selected the circle “developers”
And I have selected the circle “funny”
When I select “intersect”
And I click “Share”
Then the post should be sent to “funny developers” only

What’s this?

This is a userstory with a scenario notated with Gherkin – a Domain-Specific-Language. I’m using it mainly for Behaviour-Driven-Development with Behat and Mink. And as you can see, it’s quite useful to note some ideas quick and clean too.