“Leveraging Existing Tests in Automated Test Generation for Web Applications”, Amin Milani Fard, Mehdi Mirzaaghaei, and Ali Mesbah.
In Proceedings of the IEEE/ACM International Conference on Automated Software Engineering (ASE), 67–78, 2014
[PDF]  [Slides]

Abstract

To test web applications, developers currently write test cases in frameworks such as Selenium. On the other hand, most web test generation techniques rely on a crawler to explore the dynamic states of the application. The first approach requires much manual effort, but benefits from the domain knowledge of the developer writing the test cases. The second one is automated and systematic, but lacks the domain knowledge required to be as effective. We believe combining the two can be advantageous. In this paper, we propose to (1) mine the human knowledge present in the form of input values, event sequences, and assertions, in the human-written test suites, (2) combine that inferred knowledge with the power of automated crawling, and (3) extend the test suite for uncovered/unchecked portions of the web application under test. Our approach is implemented in a tool called Testilizer. An evaluation of our approach indicates that Testilizer (1) outperforms a random test generator, and (2) on average, can generate test suites with improvements of up to 150 percent in fault detection rate and up to 30 precent in code coverage, compared to the original test suite.

BibTeX

@inproceedings{amin:ase14,
  author = {Milani Fard, Amin and Mirzaaghaei, Mehdi and Mesbah, Ali},
  title = {Leveraging Existing Tests in Automated Test Generation for Web Applications},
  booktitle = {Proceedings of the IEEE/ACM International Conference on Automated Software Engineering (ASE)},
  publisher = {ACM},
  pages = {67--78},
  year = {2014},
  url = {http://salt.ece.ubc.ca/publications/docs/testilizer-ase14.pdf},
  slides = {39262904}
}