摘要
针对手工开发J2EE单元测试脚本的工作量大,效率低下,并且手工编写的测试脚本不便于回归测试等问题,本文定义了一个J2EE单元测试模板,应用测试指令与测试数据分离的数据驱动脚本技术来自动生成测试脚本,并在JUnit框架下进行验证,经过测试该方法提高了软件测试的效率,减少了测试人员的工作量。
Aiming at developing J2EE unit test scripts manually may bring low work effficiency,and test scripts which manually written go against regressive test. This paper defines one J2EE unit test template,presents a way of datadriven scripts technology to automatic generate test scripts, and validate this method on J2EE Unit framework,it can best increase software test effectiveness, reduce workloads of conner.
出处
《河北软件职业技术学院学报》
2009年第3期55-57,共3页
Journal of Hebei Software Institute