首页 | 本学科首页   官方微博 | 高级检索  
     检索      

JUnit工具在后缀表达式算法实现中的应用
引用本文:王云婷,刘辉.JUnit工具在后缀表达式算法实现中的应用[J].河北省科学院学报,2013,30(2):81-87.
作者姓名:王云婷  刘辉
作者单位:石家庄铁道大学信息科学与技术学院,河北石家庄,050043
摘    要:软件测试在控制软件质量中起着非常重要的作用。JUnit作为一款功能强大的开源单元测试工具,在单元测试中得到较为广泛的应用。本文在分析JUnit实现测试用例、处理单元测试用例与测试套件关系以及收集结果与判断方法的基础上,用UML时序图表示了JUnit框架测试流程,并利用JUnit框架对后缀表达式实现算法进行了单元测试和套件测试。

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

The appliance of JUnit framework in the implementation of postfix expressionalgorithm
WANG Yun-ting , LIU Hui.The appliance of JUnit framework in the implementation of postfix expressionalgorithm[J].Journal of The Hebei Academy of Sciences,2013,30(2):81-87.
Authors:WANG Yun-ting  LIU Hui
Institution:(School of Information Science and Technology,Shijiazhuang Tiedao University,Shijiazhuang Hebei 050043,China)
Abstract: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.
Keywords:JUnit  Unit testing  Postfix expression
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号