期刊文献+

基于优先级的单元测试技术应用研究 被引量:1

Research on the unit testing technology based on priority
下载PDF
导出
摘要 考虑到单元测试的并行性,提出了基于函数优先级的测试策略.分析了函数的参数、全局变量和局部变量对函数控制流正确实现的影响,建立了量化的权值影响因子数学模型,并结合函数的控制流图生成了带权值有向无环图,最后根据AOE-网关键路径求解算法,生成被测函数的关键路径,设计测试用例.测试结束之后,再进行次关键路径选择,直至达到测试标准.通过以上技术,合理分配各模块测试计划时间,有助于提高软件测试效率,保证软件质量. Considering the parallelism of unit testing, the testing strategy based on the priority of function was put forward. The influence of parameters, global and local variables on the proper realization of the control flow of func- tion was analyzed, the quantitive mathematical model of the weight influencing factor was built, and at the same time, combining the control flow chart of the function, the weighted directed acycline graph was given. The critical path of the tested function was found by the algorithm based on AOE-net and the test case was designed. After the test, choose the hypo-critical path again until the test criterion is reached. According to the technology above, the scheduled test time for every module is assigned reasonably, improving the software test efficiency and achieving the objective of software quality assurance (SQA).
出处 《应用科技》 CAS 2010年第7期30-34,共5页 Applied Science and Technology
关键词 关键路径 函数优先级 单元测试 关键函数 critical path software testing unit testing critical function
  • 相关文献

参考文献5

二级参考文献3

  • 1徐凤生.一种新的关键路径求解算法[J].计算机应用与软件,2005,22(6):97-99. 被引量:19
  • 2Oger S Pressman著.软件工程-实践者的研究方法[M].北京:机械工业出版社,1999.10.
  • 3严蔚敏 吴伟民.数据结构[M].北京:清华大学出版社,2002..

共引文献24

同被引文献3

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部