东北大学学报(自然科学版)
東北大學學報(自然科學版)
동북대학학보(자연과학판)
Journal of Northeastern University (Natural Science)
2015年
12期
1696-1700
,共5页
赵玉丽%王莹%于海%朱志良
趙玉麗%王瑩%于海%硃誌良
조옥려%왕형%우해%주지량
集成测试%复杂网络%节点重要性%测试序列%桩复杂度
集成測試%複雜網絡%節點重要性%測試序列%樁複雜度
집성측시%복잡망락%절점중요성%측시서렬%장복잡도
integration test%complex network%node significance%test order%stub complexity
类间集成测试是面向对象软件测试的一个重要部分.将类抽象成节点,类间调用关系抽象成边,建立面向对象软件的复杂网络模型,根据软件网络的结构特征,分析类节点的影响力和复杂性,给出一种软件重要节点的度量方法.在此基础上,将错误被尽早发现的思想应用在类间集成测试排序中,在确保构造的测试桩复杂度较小的前提下,保证重要节点优先测试,得到了一种基于复杂网络的类间集成测试序列生成方法.最后,在开源软件 DNS 1.2.0上进行分析和验证,证明了该方法的有效性.
類間集成測試是麵嚮對象軟件測試的一箇重要部分.將類抽象成節點,類間調用關繫抽象成邊,建立麵嚮對象軟件的複雜網絡模型,根據軟件網絡的結構特徵,分析類節點的影響力和複雜性,給齣一種軟件重要節點的度量方法.在此基礎上,將錯誤被儘早髮現的思想應用在類間集成測試排序中,在確保構造的測試樁複雜度較小的前提下,保證重要節點優先測試,得到瞭一種基于複雜網絡的類間集成測試序列生成方法.最後,在開源軟件 DNS 1.2.0上進行分析和驗證,證明瞭該方法的有效性.
류간집성측시시면향대상연건측시적일개중요부분.장류추상성절점,류간조용관계추상성변,건립면향대상연건적복잡망락모형,근거연건망락적결구특정,분석류절점적영향력화복잡성,급출일충연건중요절점적도량방법.재차기출상,장착오피진조발현적사상응용재류간집성측시배서중,재학보구조적측시장복잡도교소적전제하,보증중요절점우선측시,득도료일충기우복잡망락적류간집성측시서렬생성방법.최후,재개원연건 DNS 1.2.0상진행분석화험증,증명료해방법적유효성.
Inter-class integration test is a critical part of the object-oriented software testing. Representing a class by a node in a complex network,two classes are connected only if there exist an invoke relationship between them.Then,a complex network model representing object-oriented software could be constructed.According to the characteristics of the complex network structure,the influence and complexity of each class node was analyzed.Further,an approach for measure the significant nodes in the software network were provided.Moreover,the idea that error should be found as soon as possible was applied to the inter-class integration test order,an inter-class integration test order generation method was proposed,in which the test priority of the significant nodes and the lower test stub complexity were ensured.Simulation result on the open source software DNS 1.2.0 indicated the effectiveness of the proposed method.