变异测试(Mutation Testing)(有时也叫做“变异分析”)是一种在细节方面改进程序源代码的软件测试方法。这些所谓的变异,是基于良好定义的变异操作,这些操作或者是模拟典型应用错误(例如:使用错误的操作符或者变量名字),或者是强制产生有效地测试(例如使得每个表达式都等于0)。目的是帮助测试者发现有效地测试,或者定位测试数据的弱点,或者是在执行中很少(或从不)使用的代码的弱点。
变异测试实验表明:该方法能够有效地改善代数测试方法的测试效果。
The experiments show that this method is feasible for improving the test effects of algebraic testing method.
人类群体中有各种各样的基因变异,但是药物只在几千人身上进行测试。
The human population contains a great variety of genetic variation, but drugs are tested on just a few thousand people.
孩子们可以接受基因测试以确认他们是否遗传了此变异,并且定期进行癌症筛检。
The children can receive genetic testing to find out if they have the mutation, and regular cancer screenings.
应用推荐