Automated Steering of Model-Based Test Oracles to Admit Real Program Behaviors
Autor: | Gregory Gay, Sanjai Rayadurgam, Mats P. E. Heimdahl |
---|---|
Rok vydání: | 2017 |
Předmět: |
Correctness
Computer science Integration testing media_common.quotation_subject White-box testing Functional testing Risk-based testing System testing Manual testing Software performance testing 02 engineering and technology Reuse Machine learning computer.software_genre Black-box testing Oracle Keyword-driven testing Software System under test Regression testing 0202 electrical engineering electronic engineering information engineering Test Management Approach Orthogonal array testing media_common Model-based testing business.industry 020207 software engineering Reliability engineering Debugging Non-regression testing 020201 artificial intelligence & image processing Artificial intelligence business computer |
Zdroj: | IEEE Transactions on Software Engineering. 43:531-555 |
ISSN: | 1939-3520 0098-5589 |
DOI: | 10.1109/tse.2016.2615311 |
Popis: | The test oracle —a judge of the correctness of the system under test (SUT)—is a major component of the testing process. Specifying test oracles is challenging for some domains, such as real-time embedded systems, where small changes in timing or sensory input may cause large behavioral differences. Models of such systems, often built for analysis and simulation, are appealing for reuse as test oracles. These models, however, typically represent an idealized system, abstracting away certain issues such as non-deterministic timing behavior and sensor noise. Thus, even with the same inputs, the model's behavior may fail to match an acceptable behavior of the SUT, leading to many false positives reported by the test oracle. We propose an automated steering framework that can adjust the behavior of the model to better match the behavior of the SUT to reduce the rate of false positives. This model steering is limited by a set of constraints (defining the differences in behavior that are acceptable) and is based on a search process attempting to minimize a dissimilarity metric. This framework allows non-deterministic, but bounded, behavioral differences, while preventing future mismatches by guiding the oracle—within limits—to match the execution of the SUT. Results show that steering significantly increases SUT-oracle conformance with minimal masking of real faults and, thus, has significant potential for reducing false positives and, consequently, testing and debugging costs while improving the quality of the testing process. |
Databáze: | OpenAIRE |
Externí odkaz: |