Title :
Sound and Quasi-Complete Detection of Infeasible Test Requirements
Author :
Bardin, Sebastien ; Delahaye, Mickael ; David, Robin ; Kosmatov, Nikolai ; Papadakis, Mike ; Le Traon, Yves ; Marion, Jean-Yves
Author_Institution :
LIST, CEA, Gif-sur-Yvettes, France
Abstract :
In software testing, coverage criteria specify the requirements to be covered by the test cases. However, in practice such criteria are limited due to the well-known infeasibility problem, which concerns elements/requirements that cannot be covered by any test case. To deal with this issue we revisit and improve state-of-the-art static analysis techniques, such as Value Analysis and Weakest Precondition calculus. We propose a lightweight greybox scheme for combining these two techniques in a complementary way. In particular we focus on detecting infeasible test requirements in an automatic and sound way for condition coverage, multiple condition coverage and weak mutation testing criteria. Experimental results show that our method is capable of detecting almost all the infeasible test requirements, 95% on average, in a reasonable amount of time, i.e., less than 40 seconds, making it practical for unit testing.
Keywords :
program diagnostics; program testing; value engineering; infeasible test requirements detection; lightweight greybox scheme; multiple condition coverage testing criteria; software testing; static analysis techniques; value analysis; weak mutation testing criteria; weakest precondition calculus; Approximation methods; Calculus; Context; Encoding; Software; Software testing;
Conference_Titel :
Software Testing, Verification and Validation (ICST), 2015 IEEE 8th International Conference on
Conference_Location :
Graz
DOI :
10.1109/ICST.2015.7102607