“`” Mike Cohn 提供了一个名为 测试金字塔 的模型。这描述了软件开发所需的自动化测试类型。

<img alt=""clipboard.png"" referrerpolicy=""no-referrer"" src=""//res.mianshigee.com/upload/article/20200111/bVbwteT.png"">

<strong>图16:</strong> Mike Cohn 的测试金字塔 – 微服务面试问题

根据金字塔,第一层的测试量应该最高。在服务层,测试次数应小于单元测试级别,但应大于端到端级别。

<pre><code> "“`

Was this helpful?

0 / 0

发表回复 0

Your email address will not be published.