unit test:
A unit test examines the behavior of a distinct unit of work. Within a Java application, the "distinct unit of work" is often(but not always) a single method. By contrast, integration tests and acceptance tests examine how various components interact. A unit of work is a task that is not directly dependent on the completion of any other task.
A unit test examines the behavior of a distinct unit of work. Within a Java application, the "distinct unit of work" is often(but not always) a single method. By contrast, integration tests and acceptance tests examine how various components interact. A unit of work is a task that is not directly dependent on the completion of any other task.
单元测试与集成测试的区别
本文探讨了单元测试的概念及其如何专注于独立的工作单元行为验证,通常指单个方法。对比了集成测试和验收测试,后者关注不同组件间的交互。单元工作是指不直接依赖于其他任务完成的任务。
1510

被折叠的 条评论
为什么被折叠?



