JUnit工具在后缀表达式算法实现中的应用  

The appliance of JUnit framework in the implementation of postfix expressionalgorithm

在线阅读下载全文

作  者:王云婷[1] 刘辉[1] 

机构地区:[1]石家庄铁道大学信息科学与技术学院,河北石家庄050043

出  处:《河北省科学院学报》2013年第2期81-87,共7页Journal of The Hebei Academy of Sciences

摘  要:软件测试在控制软件质量中起着非常重要的作用。JUnit作为一款功能强大的开源单元测试工具,在单元测试中得到较为广泛的应用。本文在分析JUnit实现测试用例、处理单元测试用例与测试套件关系以及收集结果与判断方法的基础上,用UML时序图表示了JUnit框架测试流程,并利用JUnit框架对后缀表达式实现算法进行了单元测试和套件测试。Software testing is playing an important role in the process of software quality control.As a powerful open source testing tool,JUnit is widely used in unit testing.This article studies the methods of JUnit dealingwith problems like generating test cases,test suites,collecting results,and making assertions.Then UML sequence diagrams of JUnit framework testing process are shown.With JUnit framework,we processed a series of testing over the implementation of postfix expression algorithm.

关 键 词:JUNIT 单元测试 后缀表达式 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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