Sökning: onr:"swepub:oai:DiVA.org:bth-11201" >
Test Set Diameter :
Test Set Diameter : Quantifying the Diversity of Sets of Test Cases
-
- Feldt, Robert (författare)
- Blekinge Tekniska Högskola,Institutionen för programvaruteknik
-
- Poulding, Simon M. (författare)
- Blekinge Tekniska Högskola,Institutionen för programvaruteknik
-
- Clark, David (författare)
- UCL, GBR
-
visa fler...
-
- Yoo, Shin (författare)
- Korea Adv Inst Sci & Technol, KOR
-
visa färre...
-
(creator_code:org_t)
- IEEE Computer Society, 2016
- 2016
- Engelska.
-
Ingår i: Proceedings - 2016 IEEE International Conference on Software Testing, Verification and Validation, ICST. - : IEEE Computer Society. - 9781509018260 ; , s. 223-233
- Relaterad länk:
-
https://urn.kb.se/re...
-
visa fler...
-
https://doi.org/10.1...
-
visa färre...
Abstract
Ämnesord
Stäng
- A common and natural intuition among software testers is that test cases need to differ if a software system is to be tested properly and its quality ensured. Consequently, much research has gone into formulating distance measures for how test cases, their inputs and/or their outputs differ. However, common to these proposals is that they are data type specific and/or calculate the diversity only between pairs of test inputs, traces or outputs. We propose a new metric to measure the diversity of sets of tests: the test set diameter (TSDm). It extends our earlier, pairwise test diversity metrics based on recent advances in information theory regarding the calculation of the normalized compression distance (NCD) for multisets. A key advantage is that TSDm is a universal measure of diversity and so can be applied to any test set regardless of data type of the test inputs (and, moreover, to other test-related data such as execution traces). But this universality comes at the cost of greater computational effort compared to competing approaches. Our experiments on four different systems show that the test set diameter can help select test sets with higher structural and fault coverage than random selection even when only applied to test inputs. This can enable early test design and selection, prior to even having a software system to test, and complement other types of test automation and analysis. We argue that this quantification of test set diversity creates a number of opportunities to better understand software quality and provides practical ways to increase it.
Ämnesord
- NATURVETENSKAP -- Data- och informationsvetenskap -- Programvaruteknik (hsv//swe)
- NATURAL SCIENCES -- Computer and Information Sciences -- Software Engineering (hsv//eng)
Nyckelord
- Empirical study; Information theory; Software testing; Test selection
Publikations- och innehållstyp
- ref (ämneskategori)
- kon (ämneskategori)
Hitta via bibliotek
Till lärosätets databas