Offline dengan aplikasi Player FM !
#56: Test-driven development: It's not about testing
Manage episode 306143998 series 2680464
Test-driven development (TDD for short) means developing software by writing tests first. I hope you all write unit and integration tests. But do you write them before the actual production code? This approach to software development is just that. You must write a failing test first. And you are not allowed to write even a single line of production code without a failing test. Think about it. If all your tests are green, it is forbidden to write production code. Everything must start from a red test.
Read more: https://nurkiewicz.com/56
Get the new episode straight to your mailbox: https://nurkiewicz.com/newsletter
98 episode
Manage episode 306143998 series 2680464
Test-driven development (TDD for short) means developing software by writing tests first. I hope you all write unit and integration tests. But do you write them before the actual production code? This approach to software development is just that. You must write a failing test first. And you are not allowed to write even a single line of production code without a failing test. Think about it. If all your tests are green, it is forbidden to write production code. Everything must start from a red test.
Read more: https://nurkiewicz.com/56
Get the new episode straight to your mailbox: https://nurkiewicz.com/newsletter
98 episode
Semua episode
×Selamat datang di Player FM!
Player FM memindai web untuk mencari podcast berkualitas tinggi untuk Anda nikmati saat ini. Ini adalah aplikasi podcast terbaik dan bekerja untuk Android, iPhone, dan web. Daftar untuk menyinkronkan langganan di seluruh perangkat.