E2E tests, Integrated tests vs Collaboration and Contract tests 测试金字塔 参考以下文章,减少 E2E 测试的比例,Google 的建议:70% unit tests, 20% integration tests, and 10% end-to-end tests. Just Say No to More End-to-End Tests 这样看来, Pact.io 类似的功能相当于 Integration tests 层,可能是目前大多数团队所忽略的部分? 然而看到下面这篇和系列文章,又说 Integrated Tests are a Scam(坑/骗局) Integrated Tests Are A Scam Series 下面这篇又说 Integration Test 不同……

阅读全文