What are key points to explain Unit Testing

前端 未结 6 2188
一个人的身影
一个人的身影 2021-02-09 19:06

I want to introduce Unit Testing to some colleagues that have no or little experience with Unit Testing. I\'ll start with a presentation of about an hour to explain the concept

6条回答
  •  长发绾君心
    2021-02-09 19:43

    To keep it really short: Unit testing is about two things

    • a tool for verifying intentions
    • a necessary safety net for refactoring

    Obviously, it is a lot more than that, but to me that pretty much the sums it up.

提交回复
热议问题