智能计算机与应用
智能計算機與應用
지능계산궤여응용
Computer Study
2014年
6期
106-108
,共3页
软件测试%基路径%BPA
軟件測試%基路徑%BPA
연건측시%기로경%BPA
白盒测试中包括的测试方法有代码检查法、静态结构分析法、静态质量度量法、逻辑覆盖法、基路径测试法等等,而这其中,最为普遍运用测试的方法是基路径测试法.该法是在程序控制流图的基础上,分析控制结构的圈复杂度,导出一个基本可执行路径的集合,从而设计并产生测试用例的方法,其拥有着最强壮的覆盖标准.本文从实际出发,理论结合实践,深入研究基路径测试的概念、定义、理论,并设计出一个新的基路径算法BPA算法获取基路径,同时给出一个案例研究证明该算法的有效性.
白盒測試中包括的測試方法有代碼檢查法、靜態結構分析法、靜態質量度量法、邏輯覆蓋法、基路徑測試法等等,而這其中,最為普遍運用測試的方法是基路徑測試法.該法是在程序控製流圖的基礎上,分析控製結構的圈複雜度,導齣一箇基本可執行路徑的集閤,從而設計併產生測試用例的方法,其擁有著最彊壯的覆蓋標準.本文從實際齣髮,理論結閤實踐,深入研究基路徑測試的概唸、定義、理論,併設計齣一箇新的基路徑算法BPA算法穫取基路徑,同時給齣一箇案例研究證明該算法的有效性.
백합측시중포괄적측시방법유대마검사법、정태결구분석법、정태질량도량법、라집복개법、기로경측시법등등,이저기중,최위보편운용측시적방법시기로경측시법.해법시재정서공제류도적기출상,분석공제결구적권복잡도,도출일개기본가집행로경적집합,종이설계병산생측시용례적방법,기옹유착최강장적복개표준.본문종실제출발,이론결합실천,심입연구기로경측시적개념、정의、이론,병설계출일개신적기로경산법BPA산법획취기로경,동시급출일개안례연구증명해산법적유효성.