基于模型的测试实践:自动化生成测试用例并提高开源软件组件的覆盖率.pdf

编号:1011810 PDF 17页 1.38MB 下载积分:VIP专享
下载报告请您先登录!

1、Model-Based Testing in Action:Automating Test Generation and Boosting Coverage for Open-Source Software ComponentsModel-Based Testing in Action:Automating Test Generation and Boosting Coverage for Open-Source Software ComponentsMengqi Liu(Alibaba Cloud)Shenglin Zhu(Alibaba Cloud)TEST&VALIDATIONThe r

2、eliability of open-source software components is of foundational importanceCommon:integration test&system testInsufficient:unit testChallenge 1:labor-intensiveChallenge 2:inadequate coverageConsequences:undetected vulnerabilities,difficulties in bug localization,etc.Motivating Comprehensive Unit Tes

3、tsChallenges with manual unit test developmentInadequate coverageCombinations of states,input arguments,interaction sequences,etc.Experience:a big portion of integration bugs could have been prevented by thorough unit testsLabor intensiveAdaptations required by code evolutionsExperience:testing cost

4、s more human-months than developmentExample:Extending Open-Source Routing SWOur goal:improve the overall approaches of UThttps:/ for Segment Routing over IPv6Maintain formal models vs.test casesBetter developer efficiencyAutomatically generate test cases from the modelBetter behavior coverageAutomat

5、ic adaptations as code&model evolveOur Approaches:Model-Based TestingManual approachesInsufficient coverage;labor-intensiveModel-based testing(Gray-box)Developers only maintain a high-level model;less effort than the code itselfAutomatic test case generation:inputs+expected outputs;guaranteed behavi

6、or coverage through systematic explorationModel-Based Testing:OverviewExample:SRv6 Control Plane SoftwareC implementationLow-level pointers,type casting,etc.Performance drivenModel codeSubset of C statesHigh-level structures:list,map,etc.Functionality drivendataclassclass ZebraState:policies:listPol

友情提示

1、下载报告失败解决办法
2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
4、本站报告下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。

本文(基于模型的测试实践:自动化生成测试用例并提高开源软件组件的覆盖率.pdf)为本站 (明日何其多) 主动上传,三个皮匠报告文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三个皮匠报告文库(点击联系客服),我们立即给予删除!

温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。
客服
商务合作
小程序
服务号
折叠