Introducing a test suite similarity metric for event sequence-based test cases
Title | Introducing a test suite similarity metric for event sequence-based test cases |
Publication Type | Conference Papers |
Year of Publication | 2009 |
Authors | Brooks PA, Memon AM |
Conference Name | Software Maintenance, 2009. ICSM 2009. IEEE International Conference on |
Date Published | 2009/09// |
Keywords | event driven software systems, event sequence-based test cases, open source systems, program testing, public domain software, software metrics, Software testing, test suite similarity metric |
Abstract | Most of today's event driven software (EDS) systems are tested using test cases that are carefully constructed as sequences of events; they test the execution of an event in the context of its preceding events. Because sizes of these test suites can be extremely large, researchers have developed techniques, such as reduction and minimization, to obtain test suites that are ldquosimilarrdquo to the original test suite, but smaller. Existing similarity metrics mostly use code coverage; they do not consider the contextual relationships between events. Consequently, reduction based on such metrics may eliminate desirable test cases. In this paper, we present a new parameterized metric, CONTeSSi(n) which uses the context of n preceding events in test cases to develop a new context-aware notion of test suite similarity for EDS. This metric is defined and evaluated by comparing four test suites for each of four open source applications. Our results show that CONT eSSi(n) is a better indicator of the similarity of EDS test suites than existing metrics. |
DOI | 10.1109/ICSM.2009.5306305 |