TDD. When you can move on?

后端 未结 13 1662
南旧
南旧 2021-01-11 10:36

When doing TDD, how to tell \"that\'s enough tests for this class / feature\"?

I.e. when could you tell that you completed testing all edge cases?

13条回答
  •  被撕碎了的回忆
    2021-01-11 11:25

    Theoretically you should cover all possible input combinations and test that the output is correct but sometimes it's just not worth it.

提交回复
热议问题