bdd fundamentals... agenda •introduction to bdd •examples workshop •cucumber workshop

Post on 14-Apr-2020

60 Views

Category:

Documents

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

BDD Fundamentals

www.eurostarconferences.com

Aslak Hellesøy

• 2003: Agile / Behaviour Driven Development

• 2008: Created

• 2011: Wrote a book

• 2014: Co-founded

• Email: aslak@cucumber.pro

• Twitter: @aslak_hellesoy

www.eurostarconferences.com

www.eurostarconferences.com

Agenda

• Introduction to BDD

• Examples workshop

• Cucumber workshop

www.eurostarconferences.com

Why does this happen?

Whatdid I just tell you?

To sharetrain with

Pablo

https://www.flickr.com/photos/sblackley/9799052565

www.eurostarconferences.com

www.eurostarconferences.com

www.eurostarconferences.com

www.eurostarconferences.com

There are known knowns; there are things we know that we know.

There are known unknowns; that is to say there are things that, we now know we don't know.

But there are also unknown unknowns – there are things we do not know we don't know.

www.eurostarconferences.com

www.eurostarconferences.com

www.eurostarconferences.com

BDD is negative spaceFocus on misunderstandingto discover understanding

www.eurostarconferences.com

BDD uses examplesin conversations to illustrate behaviour

www.eurostarconferences.com

Give me an example!

www.eurostarconferences.com

www.eurostarconferences.com

Let’s do this together

www.eurostarconferences.com

Shouty!

www.eurostarconferences.com

Question

Question

www.eurostarconferences.com

Given - When - Then

www.eurostarconferences.com

Something that happened in the past

An event

An expected outcome

Given Fred has bought a microwave for £100

When Fred returns the microwave

Then Fred should be refunded £100

www.eurostarconferences.com

Formalise it!

Run it!

www.eurostarconferences.com

Who does what?

top related