How TDD works
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
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
【How TDD works】相关文章
2. How to spawning asynchronous work in J2EE
3. 软件测试LoadRunner面试题:How do you identify the performance bottlenecks
5. 介绍JAVA 中的Collection FrameWork(及如何写自己的数据结构)
6. 软件测试LoadRunner面试题:If web server, database and Network are all fine where could be the problem?
8. ORA-01033: ORACLE initialization or shutdown in progress是什么问题
9. 软件测试LoadRunner面试题:What is think time? How do you change the threshold?
本文来源:https://www.mianshiwenti.com/a11978.html
进入下载页面
上一篇:什么是SCM(软件配置管理)
下一篇:恒华伟业笔试面试题
﹝How TDD works﹞相关内容
- JAVA语言如何进行异常处理,关键字:throws,throw,try,catch,finally分别代表什么意义?在try块中可以抛出异常吗?
- rowid和rownum有什么不同
- 软件测试LoadRunner面试题:If you want to stop the execution of your script on error, how do you do that?
- 软件测试LoadRunner面试题:What is Ramp up? How do you set this
- 软件测试LoadRunner面试题:How did you find web server related issues?
- 软件测试LoadRunner面试题:How did you plan the Load? What are the Criteria?
- How to detect and cleanup pending transactions in Oracle
- 如何反序的迭代一个序列?how do I iterate over a sequence in reverse order
- 介绍一下Python中webbrowser的用法
- 简述synchronized和java.util.concurrent.locks.Lock的异同