• DocumentCode
    744222
  • Title

    Theory of Software Testing With Persistent State

  • Author

    Hamlet, Dick

  • Author_Institution
    Dept. of Comput. Sci., Portland State Univ., Portland, OR, USA
  • Volume
    64
  • Issue
    3
  • fYear
    2015
  • Firstpage
    1098
  • Lastpage
    1115
  • Abstract
    Software testing began as an empirical activity, and remains part of engineering practice without a widely accepted theoretical foundation. The overwhelming majority of test methods are designed to find software errors, termed faults, in program source code, but not to assess software operational quality. To go beyond fault-seeking requires a theory that relates static program properties to executions. In the 1970s and 1980s, Gerhart, Howden, and others developed a sound functional theory of program testing. Then Duran and others used this theory to precisely define the notions of random testing and operational reliability. In the Gerhart-Howden-Duran theory, a program´s behavior is a pure input-output mapping. This paper extends the theory to include persistent state, by adding a state space to the input space, and a state mapping to a program´s output mapping. The extended theory is significantly different because test states, unlike inputs, cannot be chosen arbitrarily. The theory is used to analyze state-based testing methods, to examine the practicality of reliability assessment, and to suggest experiments that would increase understanding of the statistical properties of software.
  • Keywords
    persistent objects; program testing; Gerhart-Howden-Duran theory; functional theory; input-output mapping; persistent state; program behavior; program testing; reliability assessment; software testing theory; state-based testing methods; Histograms; Life testing; Reliability theory; Software; Software reliability; Software testing; fundamental theory; persistent state;
  • fLanguage
    English
  • Journal_Title
    Reliability, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0018-9529
  • Type

    jour

  • DOI
    10.1109/TR.2015.2436443
  • Filename
    7128757