jbaruch Вот целая книжка о том как делать код тестируемым
Change as little code as possible to get tests in place.
The recipe is:
Identify change points ()
Break dependencies
Write the tests
Make your changes
Refactor
Posted 1 year ago (08 February 2023)