2 research outputs found
Alternatives for testing of context-aware software systems in non-academic settings:results from a <i>Rapid Review</i>
Context: Context-awareness challenges the engineering of contemporary software systems and jeopardizes their
testing. The variation of context represents a relevant behavior that deepens the limitations of available software
testing practices and technologies. However, such software systems are mainstream. Therefore, researchers in
non-academic settings also face challenges when developing and testing contemporary software systems.
Objective: To understand how researchers deal with the variation of context when testing context-aware software
systems developed in non-academic settings.
Method: To undertake a secondary study (Rapid Review) to uncover the necessary evidence from primary sources
describing the testing of context-aware software systems outside academia.
Results: The current testing initiatives in non-academic settings aim to generate or improve test suites that can
deal with the context variation and the sheer volume of test input possibilities. They mostly rely on modeling the
systems’ dynamic behavior and increasing computing resources to generate test inputs to achieve this. We found
no evidence of test results aiming at managing context variation through the testing lifecycle process.
Conclusions: So far, the identified testing initiatives and strategies are not ready for mainstream adoption. They
are all domain-specific, and while the ideas and approaches can be reproduced in distinct settings, the technologies are to be re-engineered and tailored to the context-awareness of contemporary software systems in
different problem domains. Further and joint investigations in academia and experiences in non-academic set-
tings can evolve the body of knowledge regarding the testing of contemporary software systems in the field
Dynamic Fault Detection in Context-aware Adaptation
Internetware applications are context-aware and adaptive to their environmental changes. Faulty adaptation may arise when these applications face unexpected situations. Such adaptation faults can be difficult to detect at design time. The recent Adaptation Finite-State Machine (A-FSM) approach proposes to statically analyze model-based context-aware applications for adaptation faults. However, this approach may suffer expressiveness and precision problems. To address these limitations, we propose an Adaptation Model (AM) approach. As compared with A-FSM, AM offers increased expressive power to model complex rules, and guarantees soundness in fault detection. Besides, AM deploys an efficient rule evaluation technique to cater for context-aware applications that are subject to continual environmental changes. We evaluated our AM approach using both simulated and realworld experiments with two applications. The experimental results confirmed that AM can detect real faults missed by A-FSM, and avoid false positives that were misreported otherwise