Font Size: a A A

Code Generator For JSP Testing Class Based On Cactus

Posted on:2009-10-01Degree:MasterType:Thesis
Country:ChinaCandidate:Z ZhangFull Text:PDF
GTID:2178360245469416Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
There are a lot of JSP pages need to be tested at server-side in Web applications. If the testing class is to be composed manually, it calls for not only server side testing technologies, but also a lot of repetitive mechanical labor. A code generator for JSP testing class based on Cactus is designed in this paper, which can automatically generate pages testing class to test JSP at server side. In the traditional functional testing, every step requires a large amount of manpower to complete manually and some tests also need experienced experts to ensure the reliability of the results. For example, in the testing stage, if the testers have not enough experience, they may neglect some of the pages or some steps, which could cause a lot of revision and repetitive work for the subsequent development.The application of the code generator for JSP testing class helps to improve work efficiency, speed up the progress of the project and enhance the quality of the product. When the module tested with JSP testing class by code generator is adopted instead of the traditional method, it spends much less human resource and time in the testing phase and the defects has been greatly reduced. Compared with the traditional test approach, the code generator for JSP testing class is obviously a better substitute. It can automate testing class generation, thus significantly reduce the workload of development. The test using this technology can be more comprehensive and software errors can be limited to a minimum.
Keywords/Search Tags:Cactus, JSP, test, code generator
PDF Full Text Request
Related items