摘要
基于运行剖面的测试是在软件实际运行中找出高发生率失效的测试方法,但其不适用于已排除高发生率失效而可靠性要求较高的系统。为此,对传统的运行剖面测试技术进行改进,提出一种基于运行剖面的测试用例分配与选择方法。利用自适应的重要性抽样方法在每次迭代中动态改变测试用例的概率,并根据测试结果进行自动调整,选择更有效率的测试用例,以提高测试的有效性和软件的可靠性。针对5个子域的测试用例的分析结果验证了该方法的有效性。
Testing based on operational profile is designed to find failures of high incidence rate,but it is not suitable for systems that has rule out failures of high incidence rates and requires high reliability.To address the problem,this paper proposes an allocation and selection method of test cases based on operational profile by improving traditional operational profile testing.The method uses the adaptive importance sampling method to dynamically change the probability of test cases in each iteration,and automatically makes adjustments according to the test results to select more efficient test cases to improve the effectiveness of the test and the reliability of the software.Analysis results of test cases in five subdomains verify the effectiveness of the proposed method.
作者
王一彻
高建华
WANG Yiche;GAO Jianhua(Department of Computer Science and Technology,Shanghai Normal University,Shanghai 200234,China)
出处
《计算机工程》
CAS
CSCD
北大核心
2020年第6期216-220,共5页
Computer Engineering
基金
国家自然科学基金(61672355)。
关键词
运行剖面
基于运行剖面的测试
测试用例分配
测试用例选择
抽样
软件可靠性
operational profile
test based on operational profile
test case allocation
test case selection
sampling
software reliability