摘要
软件回归测试一般使用现有的测试用例集进行测试,如何有效利用这些用例成为回归测试的关键。研究自动对现有测试用例集的扩展,包括自动改变测试用例的执行顺序、自动进行测试用例数目的增减等,提出基于现有测试用例随机生成新的测试用例集的方法。实验证明,该方法生成的测试文件能在原有环境下成功执行,能实现自动测试范围的扩大或缩小,以及测试时间的增加或减少,为软件回归测试提供了有用的自动化工具。
In general, software regression testing applied existing set of test cases for testing. The critical issue would be how to apply the test case efficaciously. This paper did research on expanding existing set of test case, including to change the executing order of test case automatically and to increase or decrease the numbers of executing test cases. Proposed an approach of generation new set of test case automatically based on existing set of test case. The experiment proves that the new test file can run under the testing environment successfully and implement expanding and reducing the scope of testing as well as the time of testing. It provided a useful automated tool for regression testing.
出处
《计算机应用研究》
CSCD
北大核心
2009年第6期2349-2351,共3页
Application Research of Computers
关键词
软件回归测试
测试用例自动生成
测试自动化
随机算法
regression testing
automated generation test cases
automated testing
random algorithm