tdd in real life
TRANSCRIPT
![Page 1: Tdd in Real Life](https://reader036.vdocument.in/reader036/viewer/2022070520/58f201011a28ab62238b45a5/html5/thumbnails/1.jpg)
TDDDennis Nerush
![Page 2: Tdd in Real Life](https://reader036.vdocument.in/reader036/viewer/2022070520/58f201011a28ab62238b45a5/html5/thumbnails/2.jpg)
Why not?
![Page 3: Tdd in Real Life](https://reader036.vdocument.in/reader036/viewer/2022070520/58f201011a28ab62238b45a5/html5/thumbnails/3.jpg)
UNITTESTS
Find bugs early
Improve design
Documentation
Allows future modifications (refactoring)
Check the code
![Page 4: Tdd in Real Life](https://reader036.vdocument.in/reader036/viewer/2022070520/58f201011a28ab62238b45a5/html5/thumbnails/4.jpg)
TDD
![Page 5: Tdd in Real Life](https://reader036.vdocument.in/reader036/viewer/2022070520/58f201011a28ab62238b45a5/html5/thumbnails/5.jpg)
Demo
![Page 6: Tdd in Real Life](https://reader036.vdocument.in/reader036/viewer/2022070520/58f201011a28ab62238b45a5/html5/thumbnails/6.jpg)
TDD
R U MAD?!
![Page 7: Tdd in Real Life](https://reader036.vdocument.in/reader036/viewer/2022070520/58f201011a28ab62238b45a5/html5/thumbnails/7.jpg)
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
![Page 8: Tdd in Real Life](https://reader036.vdocument.in/reader036/viewer/2022070520/58f201011a28ab62238b45a5/html5/thumbnails/8.jpg)
![Page 9: Tdd in Real Life](https://reader036.vdocument.in/reader036/viewer/2022070520/58f201011a28ab62238b45a5/html5/thumbnails/9.jpg)
Hold your horses!
![Page 10: Tdd in Real Life](https://reader036.vdocument.in/reader036/viewer/2022070520/58f201011a28ab62238b45a5/html5/thumbnails/10.jpg)
TDD in Real Life
http://dennis-nerush.blogspot.co.il/2015/11/applying-tdd-in-your-company-is-more.html
![Page 11: Tdd in Real Life](https://reader036.vdocument.in/reader036/viewer/2022070520/58f201011a28ab62238b45a5/html5/thumbnails/11.jpg)
![Page 12: Tdd in Real Life](https://reader036.vdocument.in/reader036/viewer/2022070520/58f201011a28ab62238b45a5/html5/thumbnails/12.jpg)
Integration Test = Definition of Done
Arrange = Understand the context and
the dependencies
“Make it Green”
You got the whole flow covered
![Page 13: Tdd in Real Life](https://reader036.vdocument.in/reader036/viewer/2022070520/58f201011a28ab62238b45a5/html5/thumbnails/13.jpg)
![Page 14: Tdd in Real Life](https://reader036.vdocument.in/reader036/viewer/2022070520/58f201011a28ab62238b45a5/html5/thumbnails/14.jpg)
Demo
![Page 15: Tdd in Real Life](https://reader036.vdocument.in/reader036/viewer/2022070520/58f201011a28ab62238b45a5/html5/thumbnails/15.jpg)
EVERYWHERE
TDD TDD
http://dennis-nerush.blogspot.co.il/2015/08/creating-masked-input-directive-with.html
![Page 16: Tdd in Real Life](https://reader036.vdocument.in/reader036/viewer/2022070520/58f201011a28ab62238b45a5/html5/thumbnails/16.jpg)
Questions?