TY - GEN
T1 - Test selection for result inspection via mining predicate rules
AU - Zheng, Wujie
AU - Lyu, Michael R.
AU - Xie, Tao
PY - 2009
Y1 - 2009
N2 - It is labor-intensive to manually verify the outputs of a large set of tests that are not equipped with test oracles. Test selection helps to reduce this cost by selecting a small subset of tests that are likely to reveal faults. A promising approach is to dynamically mine operational models as potential test oracles and then select tests that violate them. Existing work mines operational models from verified passing tests based on dynamic invariant detection. In this paper, we propose to mine common operational models, which are not always true in all observed traces, from a set of unverified tests based on mining predicate rules. Specifically, we collect values of simple predicates at runtime and then generate and evaluate predicate rules as potential operational models after running all the tests. We then select tests that violate the mined predicate rules for result inspection. Preliminary results on the Siemens suite and the grep program show the effectiveness of our approach.
AB - It is labor-intensive to manually verify the outputs of a large set of tests that are not equipped with test oracles. Test selection helps to reduce this cost by selecting a small subset of tests that are likely to reveal faults. A promising approach is to dynamically mine operational models as potential test oracles and then select tests that violate them. Existing work mines operational models from verified passing tests based on dynamic invariant detection. In this paper, we propose to mine common operational models, which are not always true in all observed traces, from a set of unverified tests based on mining predicate rules. Specifically, we collect values of simple predicates at runtime and then generate and evaluate predicate rules as potential operational models after running all the tests. We then select tests that violate the mined predicate rules for result inspection. Preliminary results on the Siemens suite and the grep program show the effectiveness of our approach.
UR - http://www.scopus.com/inward/record.url?scp=70349671545&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=70349671545&partnerID=8YFLogxK
U2 - 10.1109/ICSE-COMPANION.2009.5070986
DO - 10.1109/ICSE-COMPANION.2009.5070986
M3 - Conference contribution
AN - SCOPUS:70349671545
SN - 9781424434947
T3 - 2009 31st International Conference on Software Engineering - Companion Volume, ICSE 2009
SP - 219
EP - 222
BT - 2009 31st International Conference on Software Engineering - Companion Volume, ICSE 2009
T2 - 2009 31st International Conference on Software Engineering, ICSE 2009
Y2 - 16 May 2009 through 24 May 2009
ER -