tdd for the rest of us
DESCRIPTION
Introduction to Test Driven Development for testersTRANSCRIPT
@gil_zilberfeld
Introduction to TDD
Gil Zilberfeld23-Jun-2014
Introduction to TDD
TDD for the rest of us
@gil_zilberfeld
Who is this guy?A few things I care about…
•TDD•Unit testing
•Testing•Design•Coding
•Agile product development
@gil_zilberfeld
Test Driven Development
@gil_zilberfeld
Demo
@gil_zilberfeld
Benefits
• Same unit testing tools • Better coverage• Less debugging• Better design
Think before your code!
@gil_zilberfeld
Issues• Requires discipline• Works better for greenfield projects• Not for everyone
@gil_zilberfeld
Principles• Plan ahead• Small steps• Smallest amount of code to pass the test• JUST to pass the test• Focus on the current test• Ask questions
Discipline, discipline, discipline!
@gil_zilberfeld
Summary
• TDD is great for all kind of projects• It’s a great collaboration tool• Discipline and persistence pays off• … and you get an automated regression test
So what’s not to like?
@gil_zilberfeld
Site and blog: www.gilzilberfeld.com
Email: [email protected]
Twitter: @gil_zilberfeld
Questions?