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

Research on the unit testing technology based on priority

在线阅读下载全文

作  者:高峰[1] 郑纯[1] 刘厂[1] 

机构地区:[1]哈尔滨工程大学自动化学院,黑龙江哈尔滨150001

出  处:《应用科技》2010年第7期30-34,共5页Applied Science and Technology

摘  要:考虑到单元测试的并行性,提出了基于函数优先级的测试策略.分析了函数的参数、全局变量和局部变量对函数控制流正确实现的影响,建立了量化的权值影响因子数学模型,并结合函数的控制流图生成了带权值有向无环图,最后根据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).

关 键 词:关键路径 函数优先级 单元测试 关键函数 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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