Engineering and Technology | Open Access | DOI: https://doi.org/10.37547/tajet/Volume08Issue03-05

Methods for Automated Detection and Localization of Defects in Program Code Through Continuous Testing

Konratbayeva Arailym , Quality assurance automation engineer New Jersey, USA

Abstract

The article is dedicated to the study of methods for automated detection and localization of defects in program code within continuous integration environments. The relevance of the research is determined by the growing complexity of distributed software architectures and the increasing dependence of development processes on continuous testing pipelines. The novelty of the work lies in the integrated analytical examination of detection stability, regression test selection, prioritization strategies, spectrum-based localization, trace reconstruction, and slicing refinement within a unified CI diagnostic loop. The work describes mechanisms for writing automated tests that verify login flows, payment operations, interface elements, forms, and APIs, as well as approaches to executing these tests on every code change to ensure early defect exposure and regression protection. Special attention is paid to the interaction between algorithmic ranking models and developer feedback in practical debugging scenarios. The study sets itself the goal of systematizing engineering mechanisms that enhance diagnostic precision under time constraints. Comparative analysis and source synthesis methods are used. The conclusion substantiates that adaptive coordination of testing layers increases reliability. The article will be useful for software engineers, QA automation specialists, and CI architects.

Keywords

continuous testing, defect localization, regression testing, CI pipelines, spectrum-based fault localization, trace reconstruction

References

Behera, A., & Acharya, A. A. (2024). An effective GRU-based deep learning method for test case prioritization in continuous integration testing. Procedia Computer Science, 258, 4070–4083. https://doi.org/10.1016/j.procs.2025.04.658

Cao, H., Wang, F., Deng, M., & Li, L. (2022). The improved dynamic slicing for spectrum-based fault localization. PeerJ Computer Science, 8, e1071. https://doi.org/10.7717/peerj-cs.1071

Chen, L., Wu, J., Yang, H., et al. (2023). A microservice regression testing selection approach based on belief propagation. Journal of Cloud Computing, 12, Article 20. https://doi.org/10.1186/s13677-023-00398-7

Horváth, F., Beszédes, Á., Vancsics, B., et al. (2022). Using contextual knowledge in interactive fault localization. Empirical Software Engineering, 27, Article 150. https://doi.org/10.1007/s10664-022-10190-x

Parry, O., Kapfhammer, G. M., Hilton, M., et al. (2023). Empirically evaluating flaky test detection techniques combining test case rerunning and machine learning models. Empirical Software Engineering, 28, Article 72. https://doi.org/10.1007/s10664-023-10307-w

Sarhan, Q. I., & Beszédes, Á. (2022). A survey of challenges in spectrum-based software fault localization. IEEE Access, 10, 10618–10639. https://doi.org/10.1109/ACCESS.2022.3144079

Soto-Sánchez, Ó., Maes-Bermejo, M., Gallego, M., et al. (2022). A dataset of regressions in web applications detected by end-to-end tests. Software Quality Journal, 30, 425–454. https://doi.org/10.1007/s11219-021-09566-x

Sotto-Mayor, B., Stern, R., & Kalech, M. (2026). Spectrum-based fault diagnosis with partial traces. Journal of Systems and Software, 232, 112689. https://doi.org/10.1016/j.jss.2025.112689

Wang, Y., Mäntylä, M. V., Liu, Z., & Markkula, J. (2022). Test automation maturity improves product quality—Quantitative study of open source projects using continuous integration. Journal of Systems and Software, 188, 111259. https://doi.org/10.1016/j.jss.2022.111259

Download and View Statistics

Views: 0   |   Downloads: 0

Copyright License

Download Citations

How to Cite

Arailym, K. (2026). Methods for Automated Detection and Localization of Defects in Program Code Through Continuous Testing. The American Journal of Engineering and Technology, 8(03), 70–79. https://doi.org/10.37547/tajet/Volume08Issue03-05