Articles | Open Access | DOI: https://doi.org/10.37547/tajet/Volume07Issue04-02

Harnessing Graph Neural Networks (Gnn) For Automated Test Case Prioritization: Challenges and Opportunities in Qa Automation

Anatolii Husakovskyi , Master of Science in Systems Programming (Computer Engineering), National Aerospace University "Kharkiv Aviation Institute", Ukraine

Abstract

Graph Neural Networks (GNNs) present significant potential to revolutionize automated Test Case Prioritization (TCP) in Quality Assurance (QA) by effectively modeling intricate software-test relationships. This study evaluates the performance of Graph Convolutional Networks (GCN) and Graph Attention Networks (GAT) against traditional prioritization methods, including random, coverage-based, and historical-data-based prioritization. Employing five publicly available software project datasets, results indicate that GNN-based methods, particularly GCN, demonstrate superior performance with an average APFD (Average Percentage Faults Detected) score of 84.2%, outperforming conventional approaches. Despite their effectiveness, GNN methods face substantial challenges, notably computational complexity, scalability issues, data availability and quality concerns, and limited interpretability. Practical adoption also demands sophisticated graph construction, rigorous hyperparameter tuning, and integration into existing QA workflows. The findings emphasize the necessity for strategic implementation and further research in hybrid modeling, incremental learning, and explainable AI to maximize the benefits of GNNs in TCP.

Keywords

Graph Neural Networks (GNN), Test Case Prioritization (TCP), Quality Assurance (QA), Software Testing, Graph Convolutional Networks (GCN)

References

Catal, C., & Mishra, D. (2013). Test case prioritization: a systematic mapping study. Software Quality Journal, 21(3), 445-478. https://doi.org/10.1007/s11219-012-9181-z

Celik, M., Harman, M., Koc, L., Alshahwan, N., & Barr, E. T. (2019). Regression test selection across JVM boundaries. IEEE Transactions on Software Engineering, 45(12), 1213-1228. https://doi.org/10.1109/TSE.2018.2832431

Elbaum, S., Malishevsky, A. G., & Rothermel, G. (2002). Test case prioritization: A family of empirical studies. IEEE Transactions on Software Engineering, 28(2), 159-182. https://doi.org/10.1109/32.988497

Hemmati, H., Fang, Z., & Briand, L. (2015). Coverage-based test case prioritisation: an industrial case study. Proceedings of the 8th ACM/IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM), 1-10. https://doi.org/10.1109/ESEM.2015.7321206

Kipf, T. N., & Welling, M. (2017). Semi-supervised classification with graph convolutional networks. International Conference on Learning Representations (ICLR), Toulon, France. arXiv preprint arXiv:1609.02907.

Marijan, D., Gotlieb, A., & Sen, S. (2013). Test case prioritization techniques for regression testing: An extensive literature review. Software Quality Journal, 21(1), 5-56. https://doi.org/10.1007/s11219-012-9175-0

Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, Ł., & Polosukhin, I. (2017). Attention is all you need. Advances in Neural Information Processing Systems (NeurIPS), 30, 5998-6008.

Velickovic, P., Cucurull, G., Casanova, A., Romero, A., Lio, P., & Bengio, Y. (2018). Graph attention networks. International Conference on Learning Representations (ICLR). arXiv preprint arXiv:1710.10903.

Wu, Z., Pan, S., Chen, F., Long, G., Zhang, C., & Yu, P. S. (2020). A comprehensive survey on graph neural networks. IEEE Transactions on Neural Networks and Learning Systems, 32(1), 4-24. https://doi.org/10.1109/TNNLS.2020.2978386

Yoo, S., & Harman, M. (2012). Regression testing minimization, selection and prioritization: a survey. Software Testing, Verification & Reliability, 22(2), 67-120. https://doi.org/10.1002/stvr.430

Zhou, J., Cui, G., Zhang, Z., Yang, C., Liu, Z., Wang, L., Li, C., & Sun, M. (2020). Graph neural networks: A review of methods and applications. AI Open, 1, 57-81. https://doi.org/10.1016/j.aiopen.2021.01.001

Article Statistics

Copyright License

Download Citations

How to Cite

Anatolii Husakovskyi. (2025). Harnessing Graph Neural Networks (Gnn) For Automated Test Case Prioritization: Challenges and Opportunities in Qa Automation. The American Journal of Engineering and Technology, 7(04), 07–15. https://doi.org/10.37547/tajet/Volume07Issue04-02