摘要
一个好的测试用例集,意味着通过较小的测试开销实现较高的测试效率。为实现这一目标,一种基于特征模型的测试用例生成方法被提出,该方法在特征模型的基础上,结合组合测试策略和遗传算法,自动生成最小测试用例集。实验表明,该方法能够很好地实现特征组合覆盖,生成覆盖率良好,同时能够有效检错的测试用例集。
An effective set of test cases means that a higher test efficiency can be achieved through a smaller test overhead.In order to achieve this goal,a test case generation method based on feature model is proposed.Based on the feature model,this method automatically generates the minimum test case set with combination of combination test strategy and genetic algorithm.Experiments show that this method can achieve feature combination coverage well,and generate test suite with good coverage and effective error detection.
作者
江志强
王金波
王晓华
JIANG Zhiqiang;WANG Jinbo;WANG Xiaohua(Technology and Engineering Center for Space Utilization,Chinese Academy of Sciences,Beijing 100094)
出处
《计算机与数字工程》
2019年第12期3219-3224,共6页
Computer & Digital Engineering
关键词
特征模型
测试用例
自动生成
组合测试
遗传算法
feature model
test case
automatic generation
combinatorial test
genetic algorithm