Unit testing code coverage - do you have 100% coverage?

后端 未结 17 2756
离开以前
离开以前 2020-12-13 09:05

Do your unit tests constitute 100% code coverage? Yes or no, and why or why not.

17条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-13 09:20

    No because I spent my time adding new features that help the users rather than tricky to write obscure tests that deliver little value. I say unit test the big things, subtle things and things that are fragile.

提交回复
热议问题