Behaviour Driven Development and Behat: Telling Stories Through Code

Matt Brunt (16.Feb.2018 at 14:40, 1 hr )
Talk at PHP UK Conference 2018 (English - US)

Rating: 5 of 5

Stories? Scenarios? BDD? Are these just more words in the ever-growing list of jargon that developers have to know? Or are they something more important than new terms to memorise? In this session we'll look at how BDD fits into the software development work-flow, how to tell user stories through features, and how to automate them in Behat. These techniques will help to ensure you're writing well designed and tested software that focuses on what the users want from a system.
Level: Beginner

Who are you?

Claim talk

Talk claims have been moved to the new site.

Please login to the new site to claim your talk

Comments closed.


Rating: 5 of 5

16.Feb.2018 at 15:29 by Tom Metcalfe (9 comments) via Web2 LIVE

Really well presented. The biggest takeaway is that BDD's greatest value isn't in automating the tests but the discovery process to write the tests.

The slides being very readable was a bonus too.

A mention of Alice and how it sets up the environment would have been great in the talk although it was covered in the questions.

Rating: 4 of 5

16.Feb.2018 at 15:29 by Craig Duncan (12 comments) via Web2 LIVE

Interesting introduction to BDD.

It took a little too long to get to the code, perhaps some splicing would be good to get to the code earlier while still covering all the explanation/reasoning

Rating: 4 of 5

16.Feb.2018 at 16:53 by M1ke (32 comments) via Web2 LIVE

Solid intro to BDD really well presented. The examples made clear distinctions and separating intention from implementation is really good advice, makes the whole paradigm more more usable.

I think jumping into code sooner might have given it more momentum to start with, and then explain some of the concepts wrapped around how code is written. Also could be worth mentioning Codeception can parse and generate tests from Gherkin as well, so people don't need to jump ship if they already have a preferred testing tool but don't do BDD.

Rating: 5 of 5

16.Feb.2018 at 16:57 by Kat Zien (29 comments) via Web2 LIVE

Great talk explaining what BDD is and how to write your feature files well. So important to realise just using cucumber for UI tests is not quite BDD!
Matt delivered this talk well and nailed the live demo! It was well paced, and interesting throughout. I really liked the good/bad examples as that really helps to understand what it means to write a good, future proof testing suite.

Rating: 5 of 5

17.Feb.2018 at 09:00 by MattRink (9 comments) via Web2 LIVE

A great talk and superb introduction into BDD. It has really inspired me to try and get the company I work for to use it. The only thing missing was a bit of context as to how it fits in within the design and build phases of a project, you can't build a system with just features and stories alone. However, that doesn't detract from the fact that it was a really engaging talk.

Rating: 4 of 5

27.Feb.2018 at 14:24 by Neil Nand (46 comments) via Web2 LIVE

Good talk, haven't implemented BDD practises before and this helped me a bit more clearly work out what it is.

© 2019