摘要
简要介绍了单元测试编程框架JUnit和J2EE体系架构中的EJB组件,对EJB组件类测试的特点进行分析。针对EJB组件类的并发性和不确定性,利用JUnit框架,进行一定的扩充,实现系统测试集的自动构建和并发多线程测试用例类。
The JUnit as a unit test framework of the Java program and the EJB module in the J2EE architecture is introduced. The features of the EJB modules unit test are analyzed. To reduce the impact of the concurrence and uncertainty of the EJB module the JUnit framework is used. Hence the automatic construction of the system test suite and the multithreaded test cases are realized.
出处
《成都信息工程学院学报》
2005年第4期429-433,共5页
Journal of Chengdu University of Information Technology