基于全对测试的汽车软件测试用例开发  

Automotive Software Use Cases Development Based on Pairwise Testing

在线阅读下载全文

作  者:薛红梅 XUE Hongmei(Pan Asia Technical Automotive Center Company Limited,Shanghai 201201,China)

机构地区:[1]泛亚汽车技术中心有限公司,上海201201

出  处:《汽车实用技术》2025年第1期37-41,共5页Automobile Applied Technology

摘  要:应用全对测试方法,对汽车软件的测试用例开发进行研究,以保证测试覆盖度和提高测试效率为目标,开发自动化工具并加以应用。文章以使用语音助手播放音乐为例,先分析用户的使用场景和使用习惯,识别出可能的因子和水平;再使用自动化工具生成典型测试用例,并定义每个测试用例的期望表现;接下来进行测试,通过比较实际表现和期望表现,得到每个用例的测试结果;最后根据测试结果计算每两个因子的各水平组合的失效率,得到响应表;如果响应表中发现缺陷,则优化软件再次开展测试,直到响应表中没有缺陷,也就是软件在测试中没有任何问题为止。通过该实例的详细阐述,说明全对测试方法在汽车软件测试中的作用和价值,已成为提升测试覆盖率和效率的重要助力。To ensure the test coverage and improve the test efficiency,this paper studies the use case development of automotive software by applying the pairwise testing method.Using voice assistant to play music as an example,this paper first analyzes the user's usage scenario and usage habits,identifies the possible factors and levels.Then uses automated tools to generate typical test cases and define the expected behavior of each use case.Next,the test results of each use case are obtained by comparing the actual behavior and the expected behavior.Finally,according to the test results,the failure rate of each combination of each two factors is calculated,and the response table is obtained.If defects are found in the response table,the software should be optimized and be tested again until there are no defects in the response table.Through the detailed illustration of the example,the function and value of the pairwise testing method in the automotive software testing has become an important help to improve the testing coverage and efficiency.

关 键 词:汽车软件测试 全对测试 用例开发 

分 类 号:U467[机械工程—车辆工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象