基于VectorCAST的Ada语言软件单元动态测试方法及其应用  被引量:2

A Dynamic Unit Test Method of Ada Language Software Based on VectorCAST and its Application

在线阅读下载全文

作  者:曾贤福 谢翔 许进 夏涛 ZENG Xianfu;XIE Xiang;XU Jin;XIA Tao(Hunan CRRC Times Signal&Communication Co.,Ltd.,Changsha,Hunan 410005,China)

机构地区:[1]湖南中车时代通信信号有限公司,湖南长沙410005

出  处:《控制与信息技术》2020年第5期79-83,共5页CONTROL AND INFORMATION TECHNOLOGY

基  金:湖南创新型省份建设专项(2019GK4015)。

摘  要:为指导软件开发与测试人员有效开展单元测试活动,提高软件测试效率,文章以Ada语言软件单元动态测试为例,重点阐述了如何利用VectorCAST测试工具进行Ada语言软件单元动态测试的技术与方法,主要包括Ada语言软件单元测试环境的构建、桩函数设置、测试用例的编制与执行、覆盖率统计以及回归测试方法等关键内容。从各项测试工作分配比例和千行代码测试工作耗时两方面的比较分析结果表明,采用本文测试方法进行千行代码测试,其测试时间可节省23 h,测试效率提高约22%。By taking Ada language software unit dynamic test as an example,Ada language software unit dynamic test technology and method based on VectorCAST tool were introduced to guide the unit test for software designer and tester effectively,including Ada language software unit test environment development,stub function setting,test-case programming and executing,coverage ratio accounting and regression test,etc.Test work allocation and total test work time of thousand-line codes were adopted as the measurement metrics.Analysis result indicates that twenty-three hours of test time can be saved in a thousand-line code test,which implies an improvement of twenty-two percent of test efficiency.

关 键 词:VectorCAST工具 ADA语言 单元测试 

分 类 号:TP311.55[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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