Analyzing exceptions in the context of test data generation based on symbolic execution

2Citations
Citations of this article
5Readers
Mendeley users who have this article in their library.

Abstract

Testing exception scenarios is a challenging task in the context of test data generation based on symbolic execution. In such a context, test data is generated based on constraints explicitly declared in the code. However, constraints required to activate specific exceptions may not be directly declared in the code. In such a case, implicit constraints have to be inferred from exception handling mechanisms. Given that exceptions can be raised in several situations, finding constraints to generate test data to exercise all possible faulty scenarios can significantly increase the number of paths and constraints, which can cause or aggravate path explosion issues. This paper reports on an investigation that we carried out to gauge the cost (i.e., number of path constraints) of four data generation approaches aimed at covering exception dependent paths.

Cite

CITATION STYLE

APA

Eler, M. M., Durelli, V. H. S., & Endo, A. T. (2015). Analyzing exceptions in the context of test data generation based on symbolic execution. In Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE (Vol. 2015-January, pp. 346–351). Knowledge Systems Institute Graduate School. https://doi.org/10.18293/SEKE2015-170

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free