C / C ++有什么突变测试框架? [英] What mutation-testing frameworks exist for C/C++?

查看:164
本文介绍了C / C ++有什么突变测试框架?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

突变测试已经出现了一段时间,似乎至少有一个或两个C / C ++的商业突变测试框架。你使用过吗?你的经验是什么?是否有任何开源替代品?

Mutation testing has been out there for a while now, and it seems there are at least one or two commercial mutation testing frameworks for C/C++. Have you used them? What are your experiences? Are there any open source alternatives?

推荐答案

简要搜索结果:

  • PlexTest: http://www.itregister.com.au/products/plextest_detail.htm
  • Insure++: http://www.parasoft.com/jsp/products/insure.jsp;jsessionid=baacpvbaDywLID?itemId=63
  • MILU (may be only for C): http://www.dcs.kcl.ac.uk/pg/jiayue/milu/

据说,你需要意识到,突变测试不是特别有用(至少从我以前读过的一些东西)。这是一个有趣的工具,当面对硬(隐喻说)断言和确保数据需求注意(当处理当且仅当情况下)。

With that said, you need to realize that mutation testing isn't particularly useful (at least from some stuff I've previously read). It's an interesting tool when faced with hard (metaphorically speaking) asserts and for making sure that data requirements are heeded to (when dealing with if and only if situations).

在我看来,有更多既定的方法来分析代码的鲁棒性。

In my opinion, there are much more established ways of analyzing the robustness of code.

这篇关于C / C ++有什么突变测试框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆