Title :
From testing to diagnosis: an automated approach
Author :
Fleurey, Franck ; Le Traon, Yves ; Baudry, Benoit
Author_Institution :
IRISA, Rennes, France
Abstract :
The need for testing-for-diagnosis strategies has been identified for a long time, but the explicit link from testing to diagnosis is rare. Here, we start with the study of an algorithm for fault localization that consists of crosschecking information collected from test cases execution traces. Analyzing the type of information needed for an efficient localization, we identify the attribute (called dynamic basic block) that restricts the accuracy of a diagnosis algorithm. Based on this attribute, a test criterion is proposed and validated through rigorous case studies: it shows that test cases can be completed to reach a high level of diagnosis accuracy. So, the dilemma between a reduced testing effort (with as few test cases as possible) and the diagnosis accuracy (that needs as much test cases as possible to get more information) is partly solved by selecting only test cases relevant for diagnosis.
Keywords :
fault diagnosis; program diagnostics; program testing; automated approach; diagnosis algorithm; dynamic basic block; fault localization; information crosschecking; test case execution traces; test criterion; testing-for-diagnosis strategies; Automatic testing; Software engineering; Software testing;
Conference_Titel :
Automated Software Engineering, 2004. Proceedings. 19th International Conference on
Print_ISBN :
0-7695-2131-2
DOI :
10.1109/ASE.2004.1342753