Enable javascript in your browser for better experience. Need to know to enable it? Go here.
本页面中的信息并不完全以您的首选语言展示,我们正在完善其他语言版本。想要以您的首选语言了解相关信息,可以点击这里下载PDF。
更新于 : Oct 28, 2020
不在本期内容中
这一条目不在当前版本的技术雷达中。如果它出现在最近几期中,那么它很有可能仍然具有相关参考价值。如果这一条目出现在更早的雷达中,那么它很有可能已经不再具有相关性,我们的评估将不再适用于当下。很遗憾我们没有足够的带宽来持续评估以往的雷达内容。 了解更多
Oct 2020
Trial ? 值得一试。了解为何要构建这一能力是很重要的。企业应当在风险可控的前提下在项目中尝试应用此项技术。

传统的测试方法通常聚焦于评估我们的生产代码是不是在做该做的事情。然而,我们也可能在测试代码中犯错,比如引入了不完整或者无用的断言,导致盲目的自信。这就是变异测试的由来;它会评估测试自身的质量,发现很难意识到的临界情况。我们的团队使用 Pitest 已经有一阵子了,现在推荐在 Java 项目中使用它,用于衡量测试套件的健康程度。简而言之,变异测试会给生产代码引入一点变化,然后再次执行相同的测试;如果测试仍然是绿色的,意味着测试不够好仍然需要改进。如果你在使用 Java 以外的语言,那 Stryker 是个好的选择。

Nov 2016
Assess ? 在了解它将对你的企业产生什么影响的前提下值得探索

Pitest is a test coverage analysis tool for Java that uses a mutation-testing technique. Traditional test coverage analysis tends to measure the number of lines that are executed by your tests. It is therefore only able to identify code that is definitely not tested. Mutation testing, on the other hand, tries to test the quality of those lines that are executed by your test code and yet might contain general errors. Several problems can be spotted this way, helping the team to measure and grow a healthy test suite. Most of such tools tend to be slow and difficult to use, but Pitest has proven to have better performance, is easy to set up, and is actively supported.

Apr 2016
Assess ? 在了解它将对你的企业产生什么影响的前提下值得探索
发布于 : Apr 05, 2016

下载第29期技术雷达

English | Español | Português | 中文

获取最新技术洞见

 

立即订阅

查看存档并阅读往期内容