Integration testing of context-sensitive middleware-based applications : A metamorphic approach

Research output: Journal Publications and Reviews (RGC: 21, 22, 62)21_Publication in refereed journalpeer-review

48 Scopus Citations
View graph of relations


  • W. K. Chan
  • T. Y. Chen
  • Heng Lu
  • T. H. Tse
  • Stephen S. Yau


Original languageEnglish
Pages (from-to)677-703
Journal / PublicationInternational Journal of Software Engineering and Knowledge Engineering
Issue number5
Publication statusPublished - Oct 2006
Externally publishedYes


© World Scientific Publishing Company During the testing of context-sensitive middleware-based software, the middleware checks the current situation to invoke the appropriate functions of the applications. Since the middleware remains active and the situation may continue to evolve, however, the conclusion of some test cases may not easily be identified. Moreover, failures appearing in one situation may be superseded by subsequent correct outcomes and, therefore, be hidden. We alleviate the above problems by making use of a special kind of situation, which we call checkpoints, such that the middleware will not activate the functions under test. We recommend testers to generate test cases that start at a checkpoint and end at another. Testers may identify relations that associate different execution sequences of a test case. They then check the results of each test case to detect any contravention of such relations. We illustrate our technique with an example that shows how hidden failures can be detected. We also report the experimentation carried out on an RFID-based location-sensing application on top of a context-sensitive middleware. © World Scientific Publishing Company.

Research Area(s)

  • Context-aware application, Integration testing, Nietamorphic testing, RFID testing

Citation Format(s)