The Value of Unit Testing

前端 未结 12 1859
猫巷女王i
猫巷女王i 2021-01-11 16:48

Here are some typical answers(ranked in ascending order of corniness) I get from managers/bosses whenever I bring up the importance of having unit tests and code coverage as

12条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-11 17:30

    Why don't you just write unit tests for your code? Do you know if there are some other developers having the same problem? Probably they will follow your example and write unit tests, too.

    I don't think that the problem is the technique or the costs for an integration server. The problem is the management's attitude to unit testing. So convince them with all developers.

    There are lots of hints in this thread (Jon Limjap's answer), try it!

提交回复
热议问题