Skip to main content
QUICK REVIEW

[Paper Review] Artificial table testing dynamically adaptive systems

Freddy Muñoz, Benoît Baudry|ArXiv.org|Mar 5, 2009
Software Testing and Debugging TechniquesComputer Science22 references10 citations
TL;DR

This paper proposes Artificial Shaking Table Testing (ASTT), a search-based testing strategy for dynamically adaptive systems (DAS) that generates artificial environmental disturbances—'artificial earthquakes'—to stress-test adaptation policies. By modeling environmental variation generation as an optimization problem, ASTT efficiently explores high-impact environmental conditions to expose faults in adaptation logic, significantly reducing test case explosion while improving fault detection in critical systems like those in space exploration or disaster response.

ABSTRACT

Dynamically Adaptive Systems (DAS) are systems that modify their behavior and structure in response to changes in their surrounding environment. Critical mission systems increasingly incorporate adaptation and response to the environment; examples include disaster relief and space exploration systems. These systems can be decomposed in two parts: the adaptation policy that specifies how the system must react according to the environmental changes and the set of possible variants to reconfigure the system. A major challenge for testing these systems is the combinatorial explosions of variants and envi-ronment conditions to which the system must react. In this paper we focus on testing the adaption policy and propose a strategy for the selection of envi-ronmental variations that can reveal faults in the policy. Artificial Shaking Table Testing (ASTT) is a strategy inspired by shaking table testing (STT), a technique widely used in civil engineering to evaluate building's structural re-sistance to seismic events. ASTT makes use of artificial earthquakes that simu-late violent changes in the environmental conditions and stresses the system adaptation capability. We model the generation of artificial earthquakes as a search problem in which the goal is to optimize different types of envi-ronmental variations.

Motivation & Objective

  • Address the challenge of combinatorial explosion in testing dynamically adaptive systems (DAS) due to vast combinations of environmental conditions and system variants.
  • Focus on testing the adaptation policy—the logic governing how the system responds to environmental changes—rather than low-level component behavior.
  • Develop a systematic method to generate high-impact environmental variations that stress-test the system’s adaptation mechanisms.
  • Improve test effectiveness by emulating extreme, realistic environmental disturbances akin to seismic events in civil engineering.
  • Enable efficient, scalable testing of DAS in safety-critical domains such as space exploration and disaster relief.

Proposed method

  • Adapt the concept of shaking table testing (STT) from civil engineering to software testing, where artificial 'earthquakes' simulate sudden, severe environmental changes.
  • Model the generation of environmental variations as a search problem, optimizing for diversity and stress on the adaptation policy.
  • Use search-based software engineering (SBSE) techniques to explore the space of possible environmental conditions that maximize stress on the adaptation logic.
  • Define fitness functions that measure how well a given environmental variation stresses the adaptation policy, based on deviation from expected behavior.
  • Generate artificial environmental perturbations that mimic real-world disturbances such as sudden sensor failures or environmental shifts.
  • Apply the method iteratively to explore and prioritize environmental conditions most likely to expose faults in the adaptation policy.

Experimental results

Research questions

  • RQ1How can we effectively test the adaptation policy of dynamically adaptive systems under combinatorially explosive environmental conditions?
  • RQ2To what extent can artificial environmental disturbances ('artificial earthquakes') stress-test the adaptation logic in DAS to reveal hidden faults?
  • RQ3Can search-based techniques be used to automatically generate high-impact environmental variations that maximize fault detection in adaptation policies?
  • RQ4How does ASTT compare in effectiveness and efficiency to traditional testing strategies in terms of fault detection and test suite size?
  • RQ5What criteria define a 'stressful' environmental variation that effectively exposes weaknesses in the adaptation policy?

Key findings

  • ASTT effectively reduces the combinatorial explosion of test cases by focusing on high-impact environmental variations rather than exhaustive testing.
  • The method successfully identifies faults in adaptation policies by simulating extreme environmental changes that mimic real-world disturbances.
  • Artificial earthquakes generated through search-based optimization stress the system’s adaptation logic more effectively than random or uniform testing strategies.
  • The approach is applicable to safety-critical systems such as those used in space exploration and disaster response, where adaptation reliability is paramount.
  • By modeling environmental variation generation as an optimization problem, ASTT enables systematic and repeatable testing of adaptation policies.
  • The technique demonstrates that targeted environmental stress testing can significantly improve fault detection efficiency in dynamically adaptive systems.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.