Font Size: a A A

Research Of Automatic Unit Testing Framework For J2EE Application

Posted on:2008-03-02Degree:MasterType:Thesis
Country:ChinaCandidate:M S ZhangFull Text:PDF
GTID:2178360215482647Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
In recent years, with the increment of the size of software industry, the traditional manual testing method has blocked the development of the software project. Manual testing needs large number of tester,resources and time, finally, because of the huge workload, a lot of testing work could not be executed. Due to the reason above, testing tools grows up. Many software companies domestic and overseas or many open source group and individuals have developed many automatic testing tools, and have been used widely in the process of software development.In the software testing field, unit testing is just one type, but the most important type. XP methodology is dependent on unit testing and unit testing is the most important practice in XP. Because XP methodology support requirement changing and begin coding before the whole design completed. In order to deal with the requirement changing during the process of development or after the project submitting, if no unit testing, the number of bugs in maintenance could be vastness.It is well know that doing unit testing for J2EE application is a difficult problem. J2EE programs have to deploy to the server container first then the container runs the programs and sends the result to client. The program could not be run and got result without containerThis paper is based on the point above, do the research on unit testing and given a testing resolution using open source unit testing framework on J2EE applications. Finally, do unit testing for a Struts J2EE application using the solution and the testing strategy to prove the feasibility and necessary of automatic unit testing on J2EE applications. Doing unit testing with open source framework, it could not only be used in J2EE applications but also used in other Java application testing.
Keywords/Search Tags:software testing, unit testing, J2EE, JUnit, Struts
PDF Full Text Request
Related items