Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
82 lines (54 sloc) 1.87 KB

!SLIDE title

Tao of BDD / TDD

Aaron Kromer @cupakromer

Blog: http://aaronkromer.com

!SLIDE center

Whaaa?

Say Whaa? SJP saying "Whaa?"

!SLIDE

What is TDD?

Test Driven Development

"...a software development process that relies on the repetition of a very short development cycle..."

https://en.wikipedia.org/wiki/Test-driven_development

!SLIDE

What is TDD?

  • Write failing test
  • Minimum code to pass test
  • Refactor to acceptable standards
  • Repeat

!SLIDE

What is BDD?

Behavior Driven Development

"... software development process based on test-driven development (TDD). Behavior-driven development combines the general techniques and principles of TDD with ideas from domain-driven design and object-oriented analysis..."

https://en.wikipedia.org/wiki/Behavior-driven_development

!SLIDE

What is BDD?

  • Write user / job story
  • Write as failing test
  • Start implementing (drop into TDD)
  • Repeat

!SLIDE center

BDD with TDD

Yep, it's a thing.

I'll Take Both

!SLIDE

Working Together

![BDD + TDD Cycle](http://arnauld.github.io/incubation/jbehave-get-started/bdd-cycle-around-tdd-cycles.png) http://arnauld.github.io/incubation/jbehave-get-started/bdd-cycle-around-tdd-cycles.png

!SLIDE center

Now We Code!

Electronic Music Gif

!SLIDE center

Questions?

Sherlock Stressed Face

!SLIDE

Tao of TDD