面试啦 - 提供专业面试问题及答案、面试技巧、助您成功面试!
您的当前位置:首页 > 面试题库 > IT面试题 > 软件工程师面试题 > 正文

测试驱动开发的主要步骤是什么

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
词条:软件工程师面试题
上一篇:百度软件工程师职位 下一篇:软件配置管理有什么好处
与该文相关的文章

温馨提示:如果您对面试网有任何建议,请通过网站联系邮箱向我们反馈,感谢各位的建议与支持!