Proceedings of the 14th ACM SIGSOFT International Symposium on Foundations of Software Engineering
(SIGSOFT '06/FSE-14), ACM, New York, NY, pp. 242-252 (2006)

Testing Context-Aware Middleware-Centric Programs:
A Data Flow Approach and an RFID-Based Experimentation

Heng Lu 2 , W.K. Chan 3 , and T.H. Tse 4

[author-izer free download from ACM digital library]


Pervasive context-aware software is an emerging kind of application. Many of these systems register parts of their context-aware logic in the middleware. On the other hand, most conventional testing techniques do not consider such kind of application logic. This paper proposes a novel family of testing criteria to measure the comprehensiveness of their test sets. It stems from context-aware data flow information. Firstly, it studies the evolution of contexts, which are environmental information relevant to an application program. It then proposes context-aware data flow associations and testing criteria. Corresponding algorithms are given. It uses a prototype testing tool to conduct experimentation on an RFID-based location sensing software running on top of context-aware middleware. The experimental results show that our approach is applicable, effective, and promising.

Keywords: Context-aware applications, RFID, test adequacy

1. This research is supported in part by a grant of the Research Grants Council of Hong Kong (project no. 717506) and a grant of The University of Hong Kong.
2. Department of Computer Science, The University of Hong Kong, Pokfulam, Hong Kong.
3. Department of Computer Science, City University of Hong Kong, Tat Chee Avenue, Hong Kong.
4. (Corresponding author.)
Department of Computer Science, The University of Hong Kong, Pokfulam, Hong Kong.


  Cumulative visitor count