How TDD works

2023-07-05   


1. Write a single test
   2. Compile it. It shouldn’t compile because you’ve not written the implementation code
   3. Implement just enough code to get the test to compile
   4. Run the test and see it fail
   5. Implement just enough code to get the test to pass
   6. Run the test and see it pass
   7. Refactor for clarity and “once and only once”
   8. Repeat


相关内容:

  1. How to spawning asynchronous work in J2EE
  2. 什么是测试驱动开发(TDD)
  3. 书写英语催款信 How to start your letter?
  4. How to detect and cleanup pending transactions in Oracle
  5. How to detect and cleanup pending transactions in Oracle
  6. 软件测试LoadRunner面试题:How do you identify the performance bottlenecks