集成测试不是测试业务逻辑

19-01-05 banq
    

鲍勃大叔认为: 集成测试不是测试业务规则,这些业务规则已经由程序猿在单元测试时测试过,然后客户验收时也测试了。

集成测试应该测试组件的管道连通性和编排性。

Uncle Bob Martin (@unclebobmartin) 于 9:18 下午 on 周五, 1月 04, 2019:

Integration tests do not test business rules. Those rules have already beeen tested, once by programmer (unit) tests, and again by customer (acceptance) tests.

Integration tests test the plumbing and choreography of the components.

    

1