Approach to Test Generation and Reduction for Web Applications
Expand
(1. School of Computer Engineering and Science, Shanghai University, Shanghai 200072, China;
2. Shanghai Key Laboratory of Computer Software Evaluating and Testing, Shanghai 201114, China)
Software testing is important for ensuring software quality. To test complicated Web applications, some new problems need to be considered. In this paper, we present an approach to the generation and reduction of tests for Web applications. The navigational behavior of a Web application is described in a formal model. The model is partitioned according to the counterexamples generated by model checking against the given safety properties for navigation. The test sequences are generated according to the partitioned model, and reduced based on the characteristics of Web applications. The presented example shows that the described approach is effective.