Abstract
We propose a combination of AI techniques to improve software testing. When a test fails, a model-based diagnosis (MBD) algorithm is used to propose a set of possible explanations. We call these explanations diagnoses. Then, a planning algorithm is used to suggest further tests to identify the correct diagnosis. A tester preforms these tests and reports their outcome back to the MBD algorithm, which uses this information to prune incorrect diagnoses. This iterative process continues until the correct diagnosis is returned. We call this testing paradigm Test, Diagnose and Plan (TDP). Several test planning algorithms are proposed to minimize the number of TDP iterations, and consequently the number of tests required until the correct diagnosis is found. Experimental results show the benefits of using an MDP-based planning algorithms over greedy test planning in three benchmarks.
Original language | English |
---|---|
Title of host publication | Proceedings of the National Conference on Artificial Intelligence |
Publisher | AI Access Foundation |
Pages | 1135-1141 |
Number of pages | 7 |
ISBN (Electronic) | 9781577356783 |
State | Published - 2014 |
Externally published | Yes |
Event | 28th AAAI Conference on Artificial Intelligence, AAAI 2014, 26th Innovative Applications of Artificial Intelligence Conference, IAAI 2014 and the 5th Symposium on Educational Advances in Artificial Intelligence, EAAI 2014 - Quebec City, Canada Duration: 27 Jul 2014 → 31 Jul 2014 |
Publication series
Name | Proceedings of the National Conference on Artificial Intelligence |
---|---|
Volume | 2 |
Conference
Conference | 28th AAAI Conference on Artificial Intelligence, AAAI 2014, 26th Innovative Applications of Artificial Intelligence Conference, IAAI 2014 and the 5th Symposium on Educational Advances in Artificial Intelligence, EAAI 2014 |
---|---|
Country/Territory | Canada |
City | Quebec City |
Period | 27/07/14 → 31/07/14 |
Bibliographical note
Publisher Copyright:Copyright © 2014, Association for the Advancement of Artificial Intelligence (www.aaai.org). All rights reserved.