• DocumentCode
    2894146
  • Title

    Using Change Impact Analysis to Select Tests for Extended Finite State Machines

  • Author

    Subramaniam, Mahadevan ; Guo, Bo ; Pap, Zoltan

  • Author_Institution
    Comput. Sci. Dept., Univ. of Nebraska-Omaha, Omaha, NE, USA
  • fYear
    2009
  • fDate
    23-27 Nov. 2009
  • Firstpage
    93
  • Lastpage
    102
  • Abstract
    A formal approach to select tests for regression testing of changes performed in a system evolution step is proposed. Systems are modeled as extended finite state machines (EFSMs) supporting several commonly used data types including Booleans, numbers, arrays, queues and records. Tests are described using a sequence of input and expected output messages with concrete parameter values. Changes add/delete/replace one or more EFSM transitions. Transitions potentially executed by a test are automatically identified from its description. A simple structural invariant for a test description based on these transitions is introduced. It is shown that for a test description satisfying the invariant it can be accurately determined if a given change affects the test. Affected tests are selected for regression testing of the change. Failure of a description to meet the invariant is analyzed to identify non-observable regions in the description, which are then further analyzed using other system transitions to identify affected tests. We also describe a novel approach based on substitutability of tests to reduce the size of a regression test suite without affecting coverage. The effectiveness of the proposed approach is illustrated by applying it to several examples. Our experiments based on a well-known cost model for regression testing show that the proposed approach is economical for selective re-testing in these examples.
  • Keywords
    finite state machines; regression analysis; statistical testing; change impact analysis; extended finite state machines; formal approach; regression testing; Automata; Automatic testing; Concrete; Failure analysis; Performance analysis; Performance evaluation; Software engineering; Software maintenance; Software testing; System testing; Extended Finite State Machines; Regression Testing; Software Evolution and Maintenance; Theorem Prover;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering and Formal Methods, 2009 Seventh IEEE International Conference on
  • Conference_Location
    Hanoi
  • Print_ISBN
    978-0-7695-3870-9
  • Type

    conf

  • DOI
    10.1109/SEFM.2009.38
  • Filename
    5368111