Impact in Software Testing Using Artificial Intelligence: A Literature Review

Abstract

Software (SW) testing is more effective in software development cycle life, with increase in software complexity and society’s growing reliance on software across various sectors. Software testing is a critical step; however, it often requires substantial time and financial resources, making it challenging to achieve comprehensive coverage. Artificial intelligence (AI), particularly through machine learning and reinforcement learning techniques, offers trans-formative solutions to these challenges, especially in white-box testing. This paper focuses on leveraging AI techniques - specifically Ensemble Learning and Swarm Intelligence algorithms to optimize software testing. Swarm Intelligence, which imitates the collective behavior of natural organisms, is effective in identifying efficient paths within the source code. This paper includes review various methods such as bee algorithms, ant colony optimization, and particle swarm optimization, all of which enhance error detection speed and accuracy while minimizing resource consumption. When combined with Ensemble Learning, which aggregates results from multiple models, these AI techniques foster robust decision-making and comprehensive test coverage. This integrated approach not only addresses issues related to control and data flow but also significantly contributes to achieving a more efficient and reliable software testing process, ultimately reducing both the time and costs associated with testing.

Country : Iraq

1 Mervat Mohamed Hamid2 A. P. Aseel Waleed Ali

  1. Department of Software, College of Computer Sciences & Mathematics, University of Mosul, Mosul, Iraq
  2. Assistant Professor, Department of Software, College of Computer Sciences & Mathematics, University of Mosul, Mosul, Iraq

IRJIET, Volume 9, Issue 1, January 2025 pp. 46-52

doi.org/10.47001/IRJIET/2025.901006

References

  1. “(Open Access) White-box Testing of NLP models with Mask Neuron Coverage (2022).” Accessed: Nov. 16, 2024. [Online]. Available: https://typeset.io/papers/white-box-testing-of-nlp-models-with-mask-neuron-coverage-15zk0tah.
  2. “Artificial Intelligence’s Impact, Limitations, Challenges and Prospects in Software Testing,” SciSpace - Paper. Accessed: Nov. 16, 2024. [Online]. Available: https://typeset.io/papers/artificial-intelligence-s-impact-limitations-challenges-and-3f58nin5k1
  3. “AI Integrated ST Modern System for Designing Automated Standard Affirmation System,” SciSpace - Paper. Accessed: Nov. 16, 2024. [Online]. Available: https://typeset.io/papers/ai-integrated-st-modern-system-for-designing-automated-3idul7dojwzp
  4. “Testing of detection tools for AI-generated text,” International journal for educational integrity, vol. 19, no. 1, Dec. 2023, doi: 10.1007/s40979-023-00146-z.
  5. “Towards White Box Deep Learning,” arXiv.org, vol. abs/2403.09863, Mar. 2024, doi: 10.48550/arxiv.2403.09863.
  6. “The White-Box Adversarial Data Stream Model,” in SciSpace - Paper, Apr. 2022. doi: 10.1145/3517804.3526228.
  7. A.Verma, A. Khatana, and S. Chaudhary, “A Comparative Study of Black Box Testing and White Box Testing,” International Journal of Computer Sciences and Engineering, vol. 5, pp. 301–304, Dec. 2017, doi: 10.26438/ijcse/v5i12.301304.
  8. “Application of artificial intelligence in drug design: A review,” Computers in Biology and Medicine, vol. 179, pp. 108810–108810, Sep. 2024, doi: 10.1016/j.compbiomed.2024.108810.
  9. “POSTER: Swarm-Based IoT Network Penetration Testing by IoT Devices,” SciSpace - Paper. Accessed: Nov. 16, 2024. [Online]. Available: https://typeset.io/papers/poster-swarm-based-iot-network-penetration-testing-by-iot-3vt1y6aho5
  10. K. Pei, Y. Cao, J. Yang, and S. Jana, “DeepXplore: Automated Whitebox Testing of Deep Learning Systems,” in Proceedings of the 26th Symposium on Operating Systems Principles, Oct. 2017, pp. 1–18. doi: 10.1145/3132747.3132785.
  11. H. Hourani, A. Hammad, and M. Lafi, “The Impact of Artificial Intelligence on Software Testing,” in 2019 IEEE Jordan International Joint Conference on Electrical Engineering and Information Technology (JEEIT), Amman, Jordan: IEEE, Apr. 2019, pp. 565–570. doi: 10.1109/JEEIT.2019.8717439.
  12. H. Zhu, D. Liu, I. Bayley, R. Harrison, and F. Cuzzolin, “Datamorphic Testing: A Methodology for Testing AI Applications”.
  13. G. M. T. Aldabbagh and S. O. Hasoon, Defect Severity Code Prediction Based on Ensemble Learning, IAPGOS, vol. 14, no. 4, pp. 146153, Dec. 2024, doi: 10.35784/iapgos.6393.
  14. N. A. Obuchowski and J. A. Bullen, “Statistical considerations for testing an AI algorithm used for prescreening lung CT images,” Contemporary Clinical Trials Communications, vol. 16, p. 100434, Dec. 2019, doi: 10.1016/j.conctc.2019.100434.
  15. S. I. Khaleel and G. K. Al-Khatouni, A literature review for measuring maintainability of code clone, IJEECS, vol. 31, no. 2, p. 1118, Aug. 2023, doi: 10.11591/ijeecs.v31.i2.pp1118-1127.
  16. D. Berend, “Distribution Awareness for AI System Testing,” May 06, 2021, arXiv: arXiv:2105.02540. Accessed: Nov. 15, 2024. [Online]. Available: http://arxiv.org/abs/2105.02540
  17. A.Aimen, S. Sidheekh, V. Madan, and N. C. Krishnan, “Stress Testing of Meta-Learning Approaches for Few-shot Learning”.
  18. A.Zeb, F. Din, M. Fayaz, G. Mehmood, and K. Z. Zamli, A Systematic Literature Review on Robust Swarm Intelligence Algorithms in Search-Based Software Engineering, Complexity, vol. 2023, pp. 122, Feb. 2023, doi: 10.1155/2023/4577581.
  19. A.Aggarwal, S. Shaikh, S. Hans, S. Haldar, R. Ananthanarayanan, and D. Saha, “Testing Framework for Black-box AI Models,” Feb. 11, 2021, arXiv: arXiv:2102.06166. Accessed: Nov. 15, 2024. [Online]. Available: http://arxiv.org/abs/2102.06166
  20. M. Felderer, E. P. Enoiu, and S. Tahvili, “Artificial Intelligence Techniques in System Testing,” in Optimising the Software Development Process with Artificial Intelligence, J. R. Romero, I. Medina-Bulo, and F. Chicano, Eds., in Natural Computing Series. , Singapore: Springer Nature Singapore, 2023, pp. 221–240. doi: 10.1007/978-981-19-9948-2_8.
  21. K. Kalfin, R. A. Ibrahim, and G. S. Laksito, “Optimization of White Box Testing by Utilizing Branching and Repeating Structures in Java Programs Using Base Path,” IJMSC, vol. 2, no. 2, pp. 85–89, May 2024, doi: 10.46336/ijmsc.v2i2.98.
  22. A.Althunibat, M. Mahmood, H. Alnuhait, S. Almanasra, and H. A. Al-Khawaja, “Proposed Test Case Generation Model using Fuzzy Logic (TCGMFL),” WSEAS TRANSACTIONS ON COMPUTER RESEARCH, vol. 12, pp. 161–172, Dec. 2023, doi: 10.37394/232018.2024.12.16.
  23. K. Benedict, S. L. Williams, D. J. Smith, M. D. Lindsley, S. R. Lockhart, and M. Toda, “Testing for Blastomycosis, Coccidioidomycosis, and Histoplasmosis at a Major Commercial Laboratory, United States, 2019–2024,” Open Forum Infectious Diseases, vol. 11, no. 8, p. ofae448, Jul. 2024, doi: 10.1093/ofid/ofae448.
  24. H. B. Hassan, Q. I. Sarhan, and Á. Beszédes, “Evaluating Python Static Code Analysis Tools Using FAIR Principles,” IEEE Access, vol. 12, pp. 173647–173659, 2024, doi: 10.1109/ACCESS.2024.3503493.
  25. T. N. AL-Hadidi and S. O. Hasoon, “Software Defect Prediction Using Extreme Gradient Boosting (XGBoost) with Optimization Hyperparameter,” vol. 18, no. 1, 2024.