软件工程师面试题

当前位置: 面试问题网 > 软件工程师面试题 > Why do we need Unit test

Why do we need Unit test

The test is the executable specification
   Focus on the purpose first, then about the possible implementations
   Understand the program‘s behavior by looking at the tests – the tests tell you more than an API description, they show the dynamics, how to use the API.
   You develop just enough
   You get to the goal as quick as possible
   You don‘t develop unnecessary code
   There is no code without a test
   There is no test without a user requirement
   Once you get one test working, you know it is working now and forever
   You use the tests as regression tests
   The tests give us the courage to refactor
   You can prove that everything still works after the refactoring by simply executing the tests
   Code quality – only code that is tested is checked into versioning system!
   Well-written tests provide documentation on expected and unexpected use
   Tests are fined grained – can be run independently
   Tests can be aggregated easily
   Which tests fail give you a hint of where a bug was introduced
   Helps ensure you made a shippable product

【Why do we need Unit test】相关文章

1. Why do we need Unit test

2. 软件测试LoadRunner面试题:What is the difference between standard log and extended log?

3. Why we need EJB

4. 简述你对Statement,PreparedStatement,CallableStatement的理解

5. What is view? why do we have view?

6. Linux Interview Questions For software testers

7. Static Nested Class 和 Inner Class的不同

8. 软件测试LoadRunner面试题:What is the difference between Overlay graph and Correlate graph?

9. 软件测试LoadRunner面试题:What is a function to capture dynamic values in the web vuser script?

10. 软件测试LoadRunner面试题:How did you find web server related issues?

本文来源:https://www.mianshiwenti.com/a11958.html

点击展开全部

《Why do we need Unit test》

将本文的Word文档下载到电脑,方便收藏和打印

推荐程度:

进入下载页面
上一篇:UML设计模式笔试题 下一篇:没有了

﹝Why do we need Unit test﹞相关内容

「Why do we need Unit test」相关专题

其它栏目

也许您还喜欢