Abstract
Nowadays, the correctness of a program is a must and this comes with a plus when is about security. It is a major benefit to have confident results when the software is tested. In particular, when a regression test is made, it ensures that when a program system is modified, the existing and good functionality is not affected. NP-hard problems, including complex optimization problems necessitate high quality and intensively tested software. It is described an optimized test case prioritization method inspired by ant colony optimization, called Test Case Prioritization ANT and denoted by TCP-ANT. The current approach uses the Average Percentage of Fault Detected (APFD) metric as selection criterion, and tries to uncover maximum fault and to reduce the regression testing time. Furthermore, there are considered some metrics to better encapsulate the TCP-ANT execution cost and a criterion for a proper number of test cases, hopefully covering all possible faults. The main aim of the paper is to illustrate the Test Case Prioritization ANT from security perspective. This approach includes a severity factor of an identified fault, when using APFD metric and compares the TCP-ANT beneficent results with random, reverse and no prioritization techniques.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Pezzand, M., Young, M.: Software Testing and Analysis: Process, Principles and Techniques. Wiley, New York (2008)
Battiti, R.: Reactive search: toward self-tuning heuristics. In: Rayward-Smith, V.J., et al. (eds.) Modern Heuristic Search Methods, Chap. 4, pp. 61–83. Wiley, New York (1996)
Cook, W., Cunningham, W., Pulleyblank, W., Schrijver, A.: Combinatorial Optimization. Wiley, New York (1998)
Pop, P.: Generalized Network Design Problems. Modeling and Optimization. De Gruyter, Berlin (2012)
Yoo, S., Harman, M.: Regression testing minimization, selection and prioritization: a survey. Softw. Test. Verif. Reliab. 22(2), 67–120 (2012)
Panigrahi, C., Mall, R.: An approach to prioritize the regression test cases of object-oriented programs. CSI Trans. ICT 1(2), 159–173 (2013)
Rothermel, G., et al.: Test case prioritization: an empirical study. In: Conference on Software Maintenance, ICSM, Oxford, UK, pp. 179–188 (1999)
Khalilian, A., Azgomi, M., Fazlalizadeh, Y.: An improved method for test case prioritization by incorporating historical test case data. Sci. Comput. Program. 78(1), 93–116 (2012)
Dorigo, M., Gambardella, L.: Ant colony system: a cooperative learning approach to the traveling salesman problem. IEEE Trans. Evol. Comput. 1(1), 53–66 (1997)
Graves, T., et al.: An empirical study of regression test selection techniques. In: Proceedings of the International Conference on Software Engineering, ICSE, Kyoto, Japan, pp. 188–197 (1998)
Elbaum, S., Malishevsky, A., Rothermel, G.: Prioritizing test cases for regression testing. In: Proceedings of the International Symposium on Software Testing and Analysis, ISSTA Portland, USA, pp. 102–112 (2000)
Malishevsky, A., et al.: Cost-cognizant test case prioritization. Technical report TR-UNL-CSE-2006-004, University of Nebraska (2006)
Hwang, J., et al.: Selection of regression system tests for security policy evolution. In: IEEE/ACM International Conference on Automated Software Engineering, ASE, Essen, Germany, pp. 266–269 (2012)
OASIS: extensible access control markup language (XACML) (2005)
McGraw, G., Potter, B.: Software security testing. IEEE Secur. Priv. 2(5), 81–85 (2004)
Zhang, X., et al.: Test case prioritization based on varying testing requirement priorities and test case costs. In: Conference on Quality Software (QSIC 2007), Portland, Oregon, USA, pp. 15–24 (2007)
Kayes, M.: Test case prioritization for regression testing based on fault dependency. In: 2011 3rd International Conference on Electronics Computer Technology, vol. 5, pp. 48–52 (2011)
Li, Z., Harman, M., Hierons, R.: Search algorithms for regression test case prioritization. IEEE Trans. Softw. Eng. 33(4), 225–237 (2007)
Agrawal, A., Kaur, A.: A comprehensive comparison of ant colony and hybrid particle swarm optimization algorithms through test case selection. In: Data Engineering and Intelligent Computing, pp. 397–405. Springer, Singapore (2018)
Ahmad, S., Singh, D., Suman, P.: Prioritization for regression testing using ant colony optimization based on test factors. In: Intelligent Communication, Control and Devices, pp. 1353–1360. Springer, Singapore (2018)
Singh, Y., Kaur, A., Suri, B.: Test case prioritization using ant colony optimization. ACM SIGSOFT Softw. Eng. Notes 35(4), 1–7 (2010)
Saraswat, P., Singhal, A., Bansal, A.: A review of test case prioritization and optimization techniques. Advances in Intelligent Systems and Computing, pp. 507–516. Springer, Singapore (2018)
Kavitha, N.: Test case prioritization for regression testing based on severity of fault. Int. J. Comput. Sci. Eng. 2(5), 1462–1466 (2010)
Perez-Uribe, A.: Ant colony system algorithm in C/C++ (2002)
Huang, Y.C., Peng, K.L., Huang, C.Y.: A history-based cost-cognizant test case prioritization technique in regression testing. J. Syst. Softw. 85(3), 626–637 (2012)
Pintea, C., Dumitrescu, D., Pop, P.: Combining heuristics and modifying local information to guide ant-based search. Carpath. J. Math. 24(1), 94–103 (2008)
Pintea, C.M., Pop, P.: Sensor networks security based on sensitive robots agents: a conceptual model. Advances in Intelligent Systems and Computing, vol. 189, pp. 47–56. Springer, Heidelberg (2013)
Pintea, C.M., Crişan, G., Pop, P.: Towards secure transportation based on intelligent transport systems. Novel approach and concepts. Advances in Intelligent Systems and Computing, pp. 469–477. Springer, Cham (2018)
Pintea, C.M., Calinescu, A., Pop Sitar, C., Pop, C.: Towards secure & green two-stage supply chain networks. Logic J. IGPL (jzy028) (2018)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
Cite this paper
Vescan, A., Pintea, CM., Pop, P.C. (2020). Solving the Test Case Prioritization Problem with Secure Features Using Ant Colony System. In: Martínez Álvarez, F., Troncoso Lora, A., Sáez Muñoz, J., Quintián, H., Corchado, E. (eds) International Joint Conference: 12th International Conference on Computational Intelligence in Security for Information Systems (CISIS 2019) and 10th International Conference on EUropean Transnational Education (ICEUTE 2019). CISIS ICEUTE 2019 2019. Advances in Intelligent Systems and Computing, vol 951. Springer, Cham. https://doi.org/10.1007/978-3-030-20005-3_7
Download citation
DOI: https://doi.org/10.1007/978-3-030-20005-3_7
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-20004-6
Online ISBN: 978-3-030-20005-3
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)