• DocumentCode
    1575156
  • Title

    Assessing, Comparing, and Combining Statechart- based testing and Structural testing: An Experiment

  • Author

    Mouchawrab, Samar ; Briand, Lionel C. ; Labiche, Yvan

  • Author_Institution
    Carleton Univ., Ottawa
  • fYear
    2007
  • Firstpage
    41
  • Lastpage
    50
  • Abstract
    Although models have been proven to be helpful in a number of software engineering activities there is still significant resistance to model-driven development. This paper investigates one specific aspect of this larger problem. It addresses the impact of using statecharts for testing class clusters that exhibit a state-dependent behavior. More precisely, it reports on a controlled experiment that investigates their impact on testing fault-detection effectiveness. Code-based, structural testing is compared to statechart-based testing and their combination is investigated to determine whether they are complementary. Results show that there is no significant difference between the fault detection effectiveness of the two test strategies but that they are significantly more effective when combined. This implies that a cost-effective strategy would specify statechart-based test cases early on, execute them once the source code is available, and then complete them with test cases based on code coverage analysis.
  • Keywords
    formal specification; program testing; code-based testing; fault-detection testing; model-driven development; software engineering; state-dependent behavior; statechart-based testing; structural testing; Costs; Fault detection; Flow graphs; Laboratories; Object oriented modeling; Software engineering; Software measurement; Software quality; Software testing; Unified modeling language;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Empirical Software Engineering and Measurement, 2007. ESEM 2007. First International Symposium on
  • Conference_Location
    Madrid
  • ISSN
    1938-6451
  • Print_ISBN
    978-0-7695-2886-1
  • Type

    conf

  • DOI
    10.1109/ESEM.2007.22
  • Filename
    4343731