A Searchbased Multi-Objective Approach To Generate Test Suites For High Branch Coverage
Abstract
A software test consists of an input that implements the program and a definition of the expected outcome. Many techniques to automatically create inputs have been proposed over the years and today are competent to produce test suites with high code coverage. Yet the problem of the expected outcome continues and has become known as the oracle problem. To make this feasible test generation needs to intend not only at high code coverage but also at small test suites that make oracle generation as easy as possible. Coverage goals are not sovereign, not evenly difficult and sometimes infeasible. The result of test generation is therefore dependent on the order of coverage goals and how many of them are possible. To overcome this problem we propose a novel paradigm in which whole test suites are developed with the aspire of covering all coverage goals at the same time while keeping the total size as small as possible. This approach has several advantages as for example, its efficiency is not affected by the number of infeasible targets in the code. We have implemented this novel approach in the EVOSUITE tool and evaluated it to the frequent approach of addressing one goal at a time.
Â
Keywords
References
S. Ali, L. Briand, H. Hemmati, and R. Panesar-Walawege, “A Systematic Review of the Application and Empirical Investigation of Search-Based Test-Case Generation,†IEEE Trans. Software Eng., vol. 36, no. 6, pp. 742-762, Nov./Dec. 2010.
M. Alshraideh and L. Bottaci, “Search-Based Software Test Data Generation for String Data Using Program-Specific Search Operators: Research Articles,†Software Testing, Verification, andReliability, vol. 16, no. 3, pp. 175-203, 2006.
L. Araujo and J. Merelo, “Diversity through Multiculturality: Assessing Migrant Choice Policies in an Island Model,†IEEE Trans. Evolutionary Computation, vol. 15, no. 4, pp. 1-14, Aug. 2011.
A. Arcuri, “It Really Does Matter How You Normalize the Branch Distance in Search-Based Software Testing,†Software Testing, Verification and Reliability, http://dx.doi.org/10.1002/stvr.457, 2011.
A. Arcuri, “A Theoretical and Empirical Analysis of the Role of Test Sequence Length in Software Testing for Structural Coverage,†IEEE Trans. Software Eng., vol. 38, no. 3, pp. 497-519, May/ June 2011.
A. Arcuri and L. Briand, “Adaptive Random Testing: An Illusion of Effectiveness?†Proc. ACM Int’l Symp. Software Testing and Analysis, 2011.
A. Arcuri and L. Briand, “A Practical Guide for Using Statistical Tests to Assess Randomized Algorithms in Software Engineering,†Proc. 33rd Int’l Conf. Software Eng., pp. 1-10. 2011,
A. Arcuri and G. Fraser, “On Parameter Tuning in Search Based Software Engineering,†Proc. Third Int’l Conf. Search Based Software Eng., pp. 33-47, 2011.
A. Arcuri, M.Z. Iqbal, and L. Briand, “Black-Box System Testing of Real-Time Embedded Systems Using Random and Search-Based Testing,†Proc. 22nd IFIP Int’l Conf. Testing Software and Systems, pp. 95-110, 2010,
A. Arcuri, M.Z. Iqbal, and L. Briand, “Random Testing: Theoretical Results and Practical Implications,†IEEE Trans. Software Eng., vol. 38, no. 2, http://doi.ieeecomputersoc..org/ 10.1109/TSE.2011.121, pp. 258-277, Mar./Apr. 2011.
A. Arcuri and X. Yao, “Search Based Software Testing of Object- Oriented Containers,†Information Sciences, vol. 178, no. 15, pp. 3075-3095, 2008.
A. Baars, M. Harman, Y. Hassoun, K. Lakhotia, P. McMinn, P. Tonella, and T. Vos, “Symbolic Search-Based Testing,†Proc. IEEE/ ACM 26th Int’l Conf. Automated Software Eng., 2011.
L. Baresi, P.L. Lanzi, and M. Miraz, “Testful: An Evolutionary Test Approach for Java,†Proc. IEEE Int’l Conf. Software Testing, Verification and Validation, pp. 185-194, 2010.
B. Baudry, F. Fleurey, J.-M. Je´ze´quel, and Y. Le Traon, “Automatic Test Cases Optimization: A Bacteriologic Algorithm,†IEEE Software, vol. 22, no. 2, pp. 76-82, Mar./Apr. 2005.
C. Csallner and Y. Smaragdakis, “JCrasher: An Automatic Robustness Tester for Java,†Software Practice and Experience, vol. 34, pp. 1025-1050, 2004.
Refbacks
- There are currently no refbacks.
Copyright © 2013, All rights reserved.| ijseat.com
International Journal of Science Engineering and Advance Technology is licensed under a Creative Commons Attribution 3.0 Unported License.Based on a work at IJSEat , Permissions beyond the scope of this license may be available at http://creativecommons.org/licenses/by/3.0/deed.en_GB.
Â