• DocumentCode
    1421859
  • Title

    Assessing, Comparing, and Combining State Machine-Based Testing and Structural Testing: A Series of Experiments

  • Author

    Mouchawrab, Samar ; Briand, Lionel C. ; Labiche, Yvan ; Di Penta, Massimiliano

  • Author_Institution
    Dept. of Syst. & Comput. Eng., Carleton Univ., Ottawa, ON, Canada
  • Volume
    37
  • Issue
    2
  • fYear
    2011
  • Firstpage
    161
  • Lastpage
    187
  • Abstract
    A large number of research works have addressed the importance of models in software engineering. However, the adoption of model-based techniques in software organizations is limited since these models are perceived to be expensive and not necessarily cost-effective. Focusing on model-based testing, this paper reports on a series of controlled experiments. It investigates the impact of state machine testing on fault detection in class clusters and its cost when compared with structural testing. Based on previous work showing this is a good compromise in terms of cost and effectiveness, this paper focuses on a specific state-based technique: the round-trip paths coverage criterion. Round-trip paths testing is compared to structural testing, and it is investigated whether they are complementary. Results show that even when a state machine models the behavior of the cluster under test as accurately as possible, no significant difference between the fault detection effectiveness of the two test strategies is observed, while the two test strategies are significantly more effective when combined by augmenting state machine testing with structural testing. A qualitative analysis also investigates the reasons why test techniques do not detect certain faults and how the cost of state machine testing can be brought down.
  • Keywords
    fault tolerant computing; finite state machines; program testing; software engineering; fault detection; model based techniques; round trip paths testing; software engineering; software organizations; state machine based testing; structural testing; State-based software testing; controlled experiments; state machines.; structural testing;
  • fLanguage
    English
  • Journal_Title
    Software Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0098-5589
  • Type

    jour

  • DOI
    10.1109/TSE.2010.32
  • Filename
    5416729