How to fall in love with TDD - Gui Ferreira - NDC Oslo 2024

preview_player
Показать описание
This talk was recorded at NDC Oslo in Oslo, Norway. #ndcoslo #ndcconferences #developer #softwaredeveloper

Attend the next NDC conference near you:

Subscribe to our YouTube channel and learn every day:
/ @NDC

Follow our Social Media!

#tdd #architecture #testing

Have you tried Test-Driven Development (TDD)? Do you think it's not for you? Was it leading to over-testing and unnecessary complexity? Tests became a maintenance burden? Does it slow down the development process? Due to industry misconceptions, all that is normal.

I have good news. We can still change that. You can still reach enlightenment and become a TDD lover.

This talk tells you the story of what will happen once you decide to learn TDD. It will go through the challenges you will face in your journey and how to avoid being trapped by them. We'll debunk misconceptions and see an effective method of practising TDD.

If you are open to becoming TDD addicted, this session is for you. You can expect to go home inspired to master the testing craft.

Be prepared to be Test Infected. Beware, there's no cure!
Рекомендации по теме
Комментарии
Автор

19:00 maybe there's a terminology issue here: the purpose of a test _is_ to fail, when the code doesn't work. but it's bizarre to design something to fail - no-one wants to make something that "fails"!

so maybe we should say "trip" instead of "fail"? like an electrician might say "have you ever seen that circuit-breaker trip? that's how you know it works". if a circuit-breaker "fails" it's failed to detect a problem and is letting high voltage code into the production environment

RoamingAdhocrat
Автор

Insanely good talk! Highly recommended and not from a TDD ivory tower, which is super important for people just starting out or in a TDD hole. I particularly liked the example of 'expected clapping' without giving instructions. Looking forward to more from you on this topic, Gui!

LukasRotermund
Автор

Great talk. I used to think that in order to practice TDD I had to apply the principle to every types of tests and for every new method. Which kind of made me to quit doing TDD because like he said it broke when some behavior changed and it was super frustrating having to deal with not only the implementation but also the structure-coupled tests. Now I think I understand where exactly to apply TDD!.

namdawum
Автор

Gui's talk has been featured in the last issue of Tech Talks Weekly newsletter 🎉 Congrats!

TechTalksWeekly
Автор

everyone does talks like "how to fall in love with TDD" and "what went wrong with TDD". no-one talks about "adopting a cat with TDD" or "negotiating a car hire-purchase agreement with TDD". we're missing the middle of the story

RoamingAdhocrat