An empirical comparison between direct and indirect test result checking approaches

  • Authors:
  • Peifeng Hu;Zhenyu Zhang;W. K. Chan;T. H. Tse

  • Affiliations:
  • The University of Hong Kong, Hong Kong;The University of Hong Kong, Hong Kong;City University of Hong Kong, Hong Kong;The University of Hong Kong, Hong Kong

  • Venue:
  • Proceedings of the 3rd international workshop on Software quality assurance
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

An oracle on software testing is a mechanism for checking whether the system under test has behaved correctly for any executions. In some situations, oracles are unavailable or too expensive to apply. This is known as the oracle problem. It is crucial to develop techniques to address it, and metamorphic testing (MT) was one of such proposals. This paper conducts a controlled experiment to investigate the cost effectiveness of using MT by 38 testers on three open-source programs. The fault detection capability and time cost of MT are compared with the popular assertion checking method. Our results show that MT is cost-efficient and has potentials for detecting more faults than the assertion checking method.