Почему вы должны писать тесты? Версия ответа от Dave Cheney: | Протестировал
Почему вы должны писать тесты? Версия ответа от Dave Cheney:
- Even if you don't, someone will test your software - The majority of testing should be performed by development teams - Manual testing should not be the majority of your testing because manual testing is O(n) - Tests are the critical component that ensure you can always ship your master branch - Tests lock in behavior - Tests give you confidence to change someone else's code