Research on Software Testing in Light-Weight Java EE Framework

Sheng Li · Computer Technology and Development · 2009

Software testing plays a more and more important role in software development.At present,the light-weighted Java EE framework has been widely popular.In this framework,efficient and convenient unit testing and integration testing are of great significance.Based on the characteristics of light-weighted Java EE framework,combined with the idea of test-driven development(TDD),analyzes on using Mock,EasyMock to carry out simulation unit tests;makes the use of dependency injection(DI) and transaction manager to carry out integrated testing; a problem which occurs regularly in the integrated testing of Spring and Hibernate,is solved by the use of the around advice,one of the vital technologies in aspect-oriented programming(AOP).The test methods and experiences which are summed up in this article can significantly improve efficiency in test preparation,deployment and implementation of management information system under lightweight framework,also contribute to TDD team organization and cooperation.

Read the paper · More papers on PaperTik