• DocumentCode
    1929318
  • Title

    Exploiting global causality in testing of distributed and component-based applications

  • Author

    Li, Jun ; Moore, Keith

  • Author_Institution
    Hewlett-Packard Labs., Palo Alto, CA, USA
  • fYear
    2004
  • fDate
    11-14 Sept. 2004
  • Firstpage
    527
  • Abstract
    A new approach to testing component-based applications is presented, which exploits the practice in component-based systems of generating stub/skeleton modules and using these stubs/skeletons to construct a global perspective of end-to-end causality of inter-component communication. This global causality is captured regardless of reentrancy, callbacks, thread and process boundaries, and unsynchronized clocks. The captured logs created from the interception points are used to construct a system-wide component interaction model that can expose the inter-component dependencies usually hidden in static analysis of application code. These discovered dependencies are used to create a test boundary for applying a component test harness for that component and the set of dependent components. Similarly, the discovered dependencies can be applied to pruning the available test cases to identify those cases that are best suited to exposing defects when one or more components are changed. A particular advantage of the approach has been the ability to isolate the sequence of events that led up to a crash or a deadlock condition and view the entire system behavior (not just a particular thread´s perspective or a linear log of intercepted messages).
  • Keywords
    distributed processing; object-oriented programming; program diagnostics; program testing; system recovery; application code; component-based application testing; component-based systems; crash condition; deadlock condition; distributed application testing; end-to-end causality; global causality; interception points; intercomponent communication; intercomponent dependencies; static analysis; stub/skeleton modules; system behavior; system-wide component interaction model; Automatic testing; Computer crashes; International collaboration; Laboratories; Monitoring; Probes; Skeleton; System recovery; System testing; Vehicle crash testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Maintenance, 2004. Proceedings. 20th IEEE International Conference on
  • ISSN
    1063-6773
  • Print_ISBN
    0-7695-2213-0
  • Type

    conf

  • DOI
    10.1109/ICSM.2004.1357869
  • Filename
    1357869