Journal of Shanghai University(Natural Science Edition) ›› 2012, Vol. 18 ›› Issue (2): 163-169.doi: 10.3969/j.issn.1007-2861.2012.02.010

• Computer Engineering and Science • Previous Articles     Next Articles

Approach to Test Generation and Reduction for Web Applications

  

  1. (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)
  • Online:2012-04-30 Published:2012-04-30

Abstract: 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 counterexamples 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.

Key words: model checking, model partition, redundancy reduction, test sequence, Web application

CLC Number: