International Research Journal of Engineering and Technology (IRJET)
e-ISSN: 2395 -0056
Volume: 03 Issue: 07 | July -2016
p-ISSN: 2395-0072
www.irjet.net
A NOVEL SYMBOLIC EXECUTION MODEL IN AUTOMATED GENERATION OF TEST CASES To Huu Nguyen1*, Tran Thi Ngan1, Do Thanh Mai2, Tran Manh Tuan1 1 School
of Information and Communication Technology, Thainguyen University, Vietnam 2 School of Foreign Languages, Thainguyen University, Vietnam
---------------------------------------------------------------------***--------------------------------------------------------------------[13], [17]. The main disadvantage of model checking is Abstract – Modern software is becoming more and the state explosion problem [17], [24]. more complex and need to have a high reliability. A Symbolic execution is an analysis technique that programmer can be assured that sample test runs work generates high coverage test suite and also finds the correctly by checking the results. Program testing is the deeply errors in complex software. The input values of most intensive tool for maintaining quality of software. symbolic execution are symbolic values instead of It is executed on each input from a given set of inputs one actual data. And its outputs are presented as a function by one. The biggest challenge of testing is how to make of the symbolic inputs [7]. The ability to generate concrete test inputs is one of the major strengths of an effective set of inputs. Symbolic execution is a symbolic execution [6]. In [16], Sarfraz Khurshid et al. program analysis that is based on the same idea as provided a two-fold generalization of symbolic testing. However, symbolic execution has a huge execution and performed symbolic execution of code difference. Instead of supplying the normal inputs to a during explicit state model checking. The paper also program, symbolic execution supplies symbols illustrated two applications of their framework that are representing arbitrary values. In this paper, we checking correctness of multi-threaded programs and generation of non-isomorphic test inputs. introduce a novel symbolic execution model based on the Symbolic execution has been applied into generate test combination of SPF with Choco decision procedure in inputs for various goals. However, the most wellsolving complex string constraints. The proposed model known use of this approach is to generate test inputs, is implemented on the examples that are used in other to improve code coverage and expose software bugs constraint solvers. The numerical statistics of the result [8], [10]. Besides, other uses of this approach include is also given in this paper. privacy preserving error reporting [9], automatic generation of security exploits [2], load testing [25], Key Words: Test cases, Symbolic execution, automated fault localization [20] regression testing, robustness generation of test cases, program testing, programing testing and testing of graphical user interfaces, etc. analysis. Two components of symbolic execution are path condition generation and path condition solving. A main challenge in symbolic execution is dealing with 1. INTRODUCTION path conditions. To overcome this, a constraint solver namely CORAL is proposed [23] by M. Souza et al. Software checking is the most necessary step in the CORAL supplies with a new constraint solver named completeness of computer programs. The objective of heuristic solver and it also integrates this solver into this step is to assure the reliability and the correctness SPF symbolic execution tool as well. But in this paper, of software. Two strategies for checking the CORAL is not evaluated in the context of constraints correctness are testing and model checking [14]. generation from the analysis of other applications yet. Testing is often used but it is mostly performed In [11], Indradeep Gosh et al. proposed an effective tool manually [15], [21]. Moreover, testing meets the (JST) for the automated generation of test case with a challenges at finding concurrent errors [3], [16]. This high coverage. JST is a novel tool with a newly makes software testing be an expensive progress and supported essential Java library components and still have low coverage of the source code. On the other widely used data structures. This tool supplies with hand, model checking is completely automatic and fast, new solving techniques mainly for string constraints, frequently producing an answer in a matter of minutes regular expressions. Moreover, it also supports to Š 2016, IRJET
|
Impact Factor value: 4.45
|
ISO 9001:2008 Certified Journal
|
Page 1