proposed here which improves the guidance of the
evolutionary search method.
Future work will involve using evolutionary
algorithms for generating test data that cover a
particular case branch in larger projects. Also
Simulated Annealing and PSO algorithms will be
implemented for testing switch-case constructs. A
testing framework based on evolutionary algorithms
could be designed and implemented, for completely
automate the test data generation process.
REFERENCES
Arcuri, A., 2010. It Does Matter How You Normalise the
Branch Distance in Search Based Software Testing. In
Software Testing, Verification and Validation, pp.
205-214.
Baresel, A., Sthamer, H., 2003. Evolutionary testing of
flag conditions. In Proceeding of the Genetic and
Evolutionary Computation Conference, GECCO’03,
pp. 2428-2441.
Baresel, A., Binkley, D., Harman, M., 2004. Evolutionary
Testing in the Presence of Loop-Assigned Flags: A
Testability Transformation Approach. In Proceedings
of the ACM SIGSOFT International Symposium on
Software Testing and Analysis, ISSTA ’04, vol. 29, pp.
43-52.
Ferrante, J., Ottenstein, K., Warren, J., 1987. The program
Dependence Graph and Its Use in Optimization. In
ACM Transactions on Programming Languages and
Systems, vol. 9, pp. 319-349.
Harman, M., Hu, L., Hierons, R., Baresel, A., Sthamer, H.,
2002. Improving Evolutionary Testing by Flag
Removal. Proceeding of the Genetic and Evolutionary
Computation Conference, GECCO’02, pp. 1359-1366.
Harman, M., McMinn P., 2010. A Theoretical and
Empirical Study of Search-Based Testing: Local,
Global, and Hybrid Search. In IEEE Transactions on
Software Engineering, Journal vol. 36, pp. 226-247.
McMinn, P., Holcombe, M., 2005. Evolutionary testing of
state-based programs. In Proceedings of the Genetic
and Evolutionary Computation Conference,
GECCO’05, pp. 1013-1020.
McMinn, P., Binkley, D., Harman M., 2009. Empirical
Evaluation of a Nesting Testability Transformation for
Evolutionary Testing. In ACM Transformation
Software Engineering Methodology, vol. 18, pp. 1-27.
Tracey, N., Clark, J., Mander, K., 1998. Automated
program flaw finding using simulated annealing. In
Proceeding of the ACM SIGSOFT International
Symposium of Software Testing and Analysis,
ISSTA’98, pp. 73-81.
Gupta, N. K., Rohil, M. K., 2008. Using Genetic
Algorithm for Unit Testing of Object Oriented
Software. In Emerging Trends in Engineering and
Technology, pp. 308-313.
Gursaran, A. P., 2012. Program test data generation
branch coverage with genetic algorithm: Comparative
evaluation of a maximization and minimization
approach. In International Journal of Software
Engineering and Applications, vol. 3, pp. 207-218.
Tracey, N., Clark, J., Mander, K., McDermin, J., 1998. An
Automated Framework for Structural Test-Data
Generation. In Proocedings of the 13th IEEE
International Conference on Automated Software
Engineering, pp. 285.
Wang, Y., Bai, Z., Zhang, M., Du, W., Qin, Y., Liu, X.,
2008. Fitness Calculation Approach for the Switch-
Case Construct in Evolutionary Testing. In
Proceedings of the Genetic and Evolutionary
Computation Conference, GECCO’08, pp. 1767-1774.
Wappler, S., Baresel, A., Wegener, J., 2007. Improving
Evolutionary Testing in the Presence of Function-
Assigned Flags. In Testing: Academic and Industrial
Conference Practice and Research Techniques-
Mutation, pp. 23-34.
Wegener, J., Grochtmann, M., 1998. Verifying Timing
Constraints of Real-Time Systems by Means of
Evolutionary Testing. In Real Time Systems Journal,
vol. 15, pp. 275-298.
Wegener, J., Baresel, A., Sthamer H., 2001. Evolutionary
test environment for automatic structural testing. In
Information and Software Technology, Journal vol. 43
(14), pp. 841-854.
ANewEvolutionaryApproachfortheStructuralTestingofSwitch-caseConstructs
51