Test Driven Development
Test Driven Development
Test Driven Development
2021
TEST DRIVEN DEVELOPMENT.
Why test before you build, and
after.
The TDD Cicle
http://www.extremeprogramming.org/
https://www.agilealliance.org/glossary/xp/
https://agility.im/frequent-agile-question/what-is-extreme-program
ming/
Why TDD Works? (Some concepts)
Most IDEs check your syntax as you type, and some even compile
every time you save. The feedback loop is so fast that errors are
easy to find and fix. If something doesn't compile, there isn't much
code to check.
- It’s not a waste of time, and save a lot of headache in the long
run.
- Pair programming (part of XP) is awesome.
- Reduce bugs, since all old code and new one is tested on each
iteration.
- Avoid complexity and code duplication.
- Quick feedback.
- Less time to market.
- No friday nights looking for bugs :)
NOW an example from
Andres H.
Learn More About TDD?
http://www.jamesshore.com/v2/books/aoad1/test_driven_develop
ment
http://www.jamesshore.com/v2/blog/2012/what-does-a-good-test-s
uite-look-like
http://www.jamesshore.com/v2/projects/lets-play-tdd
https://bitbar.com/blog/tdd-vs-bdd-vs-atdd-whats-the-right-choice-
for-you/
Thanks!