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 Joind.in site.

Please login to the new site to claim your talk

Want to comment on this talk? Log in or create a new account or comment anonymously

Write a comment

 
Please note: you are not logged in and will be posting anonymously!
= four minus three

Comments

Rating: 5 of 5

16.Feb.2018 at 15:29 by Tom Metcalfe (4 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 (22 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 (12 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 (1 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.

© Joind.in 2018