Automated Unit Test Generation for Java

原文: https://www.veracode.com/blog/research/automated-unit-test-generation-java

作者使用EvoSuite为wox生成了一套test case

EvoSuite包含不同的生成策略:

  • Search Based Test Generation : Uses a genetic algorithm to evolve the population of candidate test cases that satisfy a particular fitness function.

  • Constraint Based Test Generation : Uses symbolic execution to generate constraints and solve those constraints to explore different paths in the program.

介绍这两个算法的paper:http://www.evosuite.org/wp-content/papercite-data/pdf/ase11.pdf

其他自动生成test case的框架: CATG, Randoop,Symbolic Pathfinder

EvoSuite和其他同类工具的比较:http://www.evosuite.org/wp-content/papercite-data/pdf/fittest2014.pdf

posted @   rxh1999  阅读(45)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· C#/.NET/.NET Core优秀项目和框架2025年2月简报
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 【杭电多校比赛记录】2025“钉耙编程”中国大学生算法设计春季联赛(1)
历史上的今天:
2020-02-08 [UE4]SetActorRotation & AddActorLocalRotation
点击右上角即可分享
微信分享提示