检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]中国科学技术大学计算机科学与技术系,合肥230027 [2]亚利桑那州立大学计算机科学系,滕比az85287
出 处:《计算机研究与发展》2004年第1期34-40,共7页Journal of Computer Research and Development
基 金:国家自然科学基金项目 ( 699740 3 8);国家高性能计算基金项目 ( 0 0 2 15 );安徽省 2 0 0 4年科技计划基金项目
摘 要:介绍了一种新的设计模式 :用于测试面向对象程序的影子模式 它为每个使用它的对象生成一个影子对象 这种模式允许测试脚本无缝地嵌入到程序中 ,无需额外的测试驱动或测试插件 在测试过程中 ,测试用例可以调用影子对象作为测试插件 ,也可以调用真实的应用代码 ,测试脚本可以在运行时做出选择Introduced in this paper is a new design pattern: a shadow for testing object-oriented programs. This pattern creates a shadow object for each object using it. By using this pattern, no additional test driver or test stub is needed. Thus, the pattern allows test scripts to be embedded in the program seamlessly. During testing, the test case can either call the shadow object as test stub or call the actual application code. The test script can make its decision at runtime to select which one to use. These ideas are illustrated in module testing and integration testing.
分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.42