Go offline with the Player FM app!
#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 episodes
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 episodes
All episodes
×Welcome to Player FM!
Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.