Testing Legacy Code: How and When to Do It?

Опубликовано: 16 Июль 2026
на канале: Куда войти?
1,141
65

We have code that's completely unencumbered by tests. What should we do with it? How do we test it? We'll talk about that today.

Let's consider two approaches: the bold, brash one, and the lazy one. I prefer the latter.

Subscribe to the channel and the link below, where they discuss the truth:

Telegram Channel: https://t.me/kydavoiti
Telegram Chat: https://t.me/kydavoitichat
VK: https://vk.com/kydavoiti
GitHub: https://github.com/IlyasYOY

Chapters

00:00 Start
01:11 How is code coverage usually accomplished?
02:30 There are two types of tests
03:12 Should old code be tested?
04:58 More about Type 1
05:08 Pros
05:38 Testing training
06:14 Bugs are found
06:59 Learning how code works
09:42 Tests find bugs
10:38 Dangerous "refactoring"
12:56 Difficult to prove value
13:07 It's tedious
14:42 Endless lag
15:13 It could be better
16:23 Testing should be built-in
17:11 Tests should work now
17:47 Not giving up on business
18:58 Summary