• DocumentCode
    2207599
  • Title

    What test oracle should I use for effective GUI testing?

  • Author

    Memon, Atif ; Banerjee, Ishan ; Nagarajan, Adithya

  • Author_Institution
    Dept. of Comput. Sci., Maryland Univ., College Park, MD, USA
  • fYear
    2003
  • fDate
    6-10 Oct. 2003
  • Firstpage
    164
  • Lastpage
    173
  • Abstract
    Test designers widely believe that the overall effectiveness and cost of software testing depends largely on the type and number of test cases executed on the software. In this paper we show that the test oracle used during testing also contributes significantly to test effectiveness and cost. A test oracle is a mechanism that determines whether software executed correctly for a test case. We define a test oracle to contain two essential parts: oracle information that represents expected output; and an oracle procedure that compares the oracle information with the actual output. By varying the level of detail of oracle information and changing the oracle procedure, a test designer can create different types of test oracles. We design 11 types of test oracles and empirically compare them on four software systems. We seed faults in software to create 100 faulty versions, execute 600 test cases on each version, for all 11 types of oracles. In all, we report results of 660,000 test runs on software. We show (1) the time and space requirements of the oracles, (2) that faults are detected early in the testing process when using detailed oracle information and complex oracle procedures, although at a higher cost per test case, and (3) that employing expensive oracles results in detecting a large number of faults using relatively smaller number of test cases.
  • Keywords
    graphical user interfaces; program testing; software engineering; GUI testing; empirical studies; graphical user interface; oracle information; oracle procedure; oracle space requirement; oracle time requirements; software testing; test cost; test effectiveness; test oracle; Application software; Computer science; Costs; Educational institutions; Fault detection; Graphical user interfaces; Software engineering; Software systems; Software testing; System testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Automated Software Engineering, 2003. Proceedings. 18th IEEE International Conference on
  • ISSN
    1938-4300
  • Print_ISBN
    0-7695-2035-9
  • Type

    conf

  • DOI
    10.1109/ASE.2003.1240304
  • Filename
    1240304