Proceedings of the 5th International Conference on Quality Software
(QSIC '05),
IEEE Computer Society Press, Los Alamitos, CA, pp. 241-249 (2005) |
W.K. Chan 2 , T.Y. Chen 3 , Heng Lu 4 , T.H. Tse 5 , and Stephen S. Yau 6
[paper from IEEE Xplore | paper from IEEE digital library | technical report TR-2005-05]
ABSTRACT |
During the testing of context-sensitive middleware-based software,
the middleware identifies the current situation and invokes 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 be easily identified.
Moreover, failures appearing in one situation
may be superseded by subsequent correct outcomes and may,
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 propose to generate test cases that start at a checkpoint and end at another. We identify functional relations that associate different execution sequences of a test case. Based on a metamorphic approach, we check the results of the test case to detect any contravention of such relations. We illustrate our technique with an example that shows how re-hidden failures may be detected. Keywords: Context-aware application, integration testing, metamorphic testing. |
|
EVERY VISITOR COUNTS: |