检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《计算机工程与应用》2006年第1期89-91,共3页Computer Engineering and Applications
基 金:国家自然科学基金资助项目(编号:60473031)
摘 要:论文对Java程序的抽象类、包含内隐类的接口、其它内隐类和普通类的测试提出了不同的测试案例模式,结合Liskov替代原则对类测试的要求,实现一个基于Junit生成包含测试神谕的测试案例框架的工具。借助该工具,程序员在编写测试案例时,只需在自动生成的测试案例框架中添加测试数据就可获得完整的测试案例。This paper provides various patterns of test case,which aiming at the abstract class,interface including inner class,other inner class and normal class,for class test of a Java program.According to the patterns and the need of the Liskov substitution principle for class test,an automatic tool is implemented,and it can generate test case framework including test oracle based on Junit.With the generator,the programmers can only put test data into the framework of the test case to acquire a completed test case when they develop it.
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.222