Download - Tdd in Real Life
Transcript
TDDDennis Nerush
Why not?
UNITTESTS
Find bugs early
Improve design
Documentation
Allows future modifications (refactoring)
Check the code
TDD
Demo
TDD
R U MAD?!
Advantages
No YAGNI
Testing specs and not the
code (not biased)
All the code is tested
Truly understand how a feature
and it’s dependencies work
Hold your horses!
TDD in Real Life
http://dennis-nerush.blogspot.co.il/2015/11/applying-tdd-in-your-company-is-more.html
Integration Test = Definition of Done
Arrange = Understand the context and
the dependencies
“Make it Green”
You got the whole flow covered
Demo
EVERYWHERE
TDD TDD
http://dennis-nerush.blogspot.co.il/2015/08/creating-masked-input-directive-with.html
Questions?