Introduction to Test-Driven Development (TDD) with TypeScript | 2021

preview_player
Показать описание
Tests give you confidence that your code is free of bugs, makes it safe to refactor, prevents regressions, and keeps you productive in the long term.

The easiest way to write testable code is to write the test first.

In this introduction to Test-Driven Development (TDD), we learn about the basics of TDD and how to implement the Red-Green-Refactor loop using TypeScript and Jest.

0:00 Intro
0:13 Why write tests?
1:00 Why don't developers write tests more often?
1:26 Testing is architectural
2:29 What is TDD & how does it work?
3:07 TDD is a process
3:36 Double Loop TDD
3:50 TDD Demonstration
12:18 Conclusion

_______________________________________________________________
LEARN TO WRITE TESTABLE, FLEXIBLE, MAINTAINABLE CODE (BLOG)
_______________________________________________________________
_______________________________________________________________
SOLIDBOOK.IO (THE SOFTWARE DESIGN & ARCHITECTURE HANDBOOK)
Рекомендации по теме
Комментарии
Автор

This is such a solid example of how TDD can work in practice.
Would love to see a more "real-world" example while working on an app, I've found TDD is easy when you're building out pretty simple apps, but it gets hard in real world situations

MykalMachon
Автор

Super excited to see video as a new outlet for your helpful instruction :) It's my preferred way to learn

someonlinevideos
Автор

I love your way of teaching Khalil. I just started your solid book and i really love it. ❤️ Such a great step by step explanation! I read all the reference DDD books out there. But, for me, the best explanation so far, is yours .
Do you plan to make the DDD video course you put on your website where you make a real life project ? I am can't wait to see that course. I would buy it immediately!! 🤩
Thanks for the effort you are making to share your experience!

jeangauvin
Автор

You're a very talented teacher. Consider uploading more videos. Love your blog!

Felipe-
Автор

Great video! It was clear, which made it easy to understand. Looking forward to more!

Coderunna
Автор

Great explanation and example Khalil. Thanks very much! I'm looking forward to watching more of your videos!

CarlosAlbertoSilvaJunior
Автор

Would love to see acceptance testing video as well. Thanks for this one 🙏🏽.

JacSteiner
Автор

There is a lot of value in here. Thanks for the content ant waiting for the curse.

jorgezozaya
Автор

Such a great and easy to understand video, great job!

bergman
Автор

Awesome! This is was very helpful. Keep up the good work!

kevinminutti
Автор

After watching this video, I finally decided to buy your book!

vitinhuU
Автор

Your blog is literally sex...dude, Ive been searching for TDD guides all weekend. This is the one!

liquidDeath
Автор

Very informative and understandable video, great job! Helped me a ton :)

pancakesandsyrup
Автор

This was great! simple and to the point. Great job!

codingjitsu
Автор

Very good and clear introduction!! Thanks

Maikelmg
Автор

Good content.
Would appreciate, if you level it up ( this was a basic function ),
how about some apis?

yashtibrewal
Автор

That is such an elegant approach! Love it!

mabroorahmad
Автор

Writes the best TDD video on the web and then. Disappears. Come back!!!

matthewvaccaro
Автор

Awesome, Hope he get back to make videos

mahdiaghaei
Автор

What's the point of creating a class (PalindromeChecker) just to hold a single (pure) function?

frigolitmonstret