1. You must write a failing unit test before you write production code.
  2. You must stop writing that unit test as soon as it fails; and not compiling is failing.
  3. You must stop writing production code as soon as the currently failing test passes.

 

当有新的理解,会后续更新。。。

相关文章:

  • 2021-09-14
  • 2022-01-19
  • 2021-11-26
  • 2022-12-23
  • 2022-12-23
  • 2021-09-08
猜你喜欢
  • 2021-09-25
  • 2021-05-27
  • 2021-10-05
  • 2021-06-30
  • 2021-06-10
  • 2022-12-23
相关资源
相似解决方案