Defect Prediction-Based Test Case Prioritization
Changes in the software necessitate confirmation testing and regression testing to be applied since new errors may be introduced with the modification. Test case prioritization is one method that could be applied to optimize which test cases should be executed first, involving how to schedule them in a certain order that detect faults as soon as possible.
The main aim of our paper is to propose a test case prioritization technique by considering defect prediction as a criteria for prioritization in addition to the standard approach which considers the number of discovered faults. We have performed several experiments, considering only faults and the defect prediction values for each class. We compare our approach with random test case execution (for a theoretical example) and with the fault-based approach (for the Mockito project). The results are encouraging, for several class changes we obtained better results with our proposed hybrid approach.
 G. Canfora, A. De Lucia, M. Di Penta, R. Oliveto, A. Panichella, and S. Panichella. Multi-objective cross-project defect prediction. In 2013 IEEE Sixth International Conference on Software Testing, Verification and Validation, pages 252-261, 2013.
 Anjali Choudhary and Tarun Dalal. A review on regression testing techniques. IJ of Emerging Trends and Technology in Computer Science, 4(3):56-59, 2015.
 Jean-Francois Collard and Ilene Burnstein. Practical Software Testing. Springer-Verlag New York, Inc., 2002.
 A. Freitas. Software repository mining analytics to estimate software component reliability, Faculdade de engenharia da Universidade do Porto, master's thesis, 2015.
 Andre Freitas. Software Repository Mining Analytics to Estimate Software Component Reliability. PhD thesis, Faculdade de engenharia da Universidade do Porto, 6 2015.
 T. L. Graves, M. J. Harrold, J. Kim, A. Porters, and G. Rothermel. An empirical study of regression test selection techniques. In Proceedings of the 20th International Conference on Software Engineering, pages 188-197, 1998.
 René Just, Darioush Jalali, and Michael D. Ernst. Defects4j: A database of existing faults to enable controlled testing studies for java programs. In Proceedings of the 2014 International Symposium on Software Testing and Analysis, ISSTA 2014, page 437-440, New York, NY, USA, 2014. Association for Computing Machinery.
 Ruchika Malhotra and Rajeev Raje. An empirical comparison of machine learning techniques for software defect prediction. In Proceedings of the 8th International Conference on Bioinspired Information and Communications Technologies, BICT '14, page 320-327, Brussels, BEL, 2014. ICST (Institute for Computer Sciences, Social-Informatics and Telecommunications Engineering).
 Glenford J. Myers and Corey Sandler. The Art of Software Testing. John Wiley & Sons, 2004.
 D. Paterson, J. Campos, R. Abreu, G. M. Kapfhammer, G. Fraser, and P. McMinn. An empirical study on the use of defect prediction for test case prioritization. In 2019 12th IEEE Conference on Software Testing, Validation and Verification (ICST), pages 346-357, 2019.
 R Pradeepa and K VimalDevi. E?ectiveness of test case prioritization using apfd metric: Survey. In International Conference on Research Trends in Computer Technologies (ICRTCT-2013). Proceedings published in International Journal of Computer Applications®(IJCA), pages 1-4, 2013, ISSN: 0975-8887.
 D. Pradhan, S. Wang, S. Ali, T. Yue, and M. Liaaen. Remap: Using rule mining and multi-objective search for dynamic test case prioritization. In 2018 IEEE 11th International Conference on Software Testing, Veri?cation and Validation (ICST), pages 46-57, 2018.
 Mohammad Rava and Wan M.N. Wan-Kadir. A review on prioritization techniques in regression testing. International Journal of Software Engineering and Its Applications, 01(1):221-232, 2016.
 Gregg Rothermel, Roland H Untch, Chengyun Chu, and Mary Jean Harrold. Test case prioritization: An empirical study. In Proceedings IEEE International Conference on Software Maintenance-1999 (ICSM'99). Software Maintenance for Business Change (Cat. No. 99CB36360), pages 179-188. IEEE, 1999.
 Gregg Rothermel, Roland H Untch, Chengyun Chu, and Mary Jean Harrold. Test case prioritization: an empirical study. In Software Maintenance, 1999. (ICSM '99) Proceedings. IEEE International Conference on, pages 179-188, 1999.
 Z. Wan, X. Xia, A. E. Hassan, D. Lo, J. Yin, and X. Yang. Perceptions, expectations, and challenges in defect prediction. IEEE Transactions on Software Engineering, pages 1-1, 2018.
 Robert K. Yin. Case Study Research: Design and Methods (Applied Social Research Methods). Sage Publications, fourth edition. edition, 2008.
 Shin Yoo and Mark Harman. Pareto eficient multi-objective test case selection. In Proceedings of the 2007 International Symposium on Software Testing and Analysis, ISSTA '07, page 140-150, New York, NY, USA, 2007. Association for Computing Machinery.
 Michal Young and Mauro Pezze. Software Testing and Analysis: Process, Principles and Techniques. John Wiley and Sons, 2005
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
When the article is accepted for publication, I, as the author and representative of the coauthors, hereby agree to transfer to Studia Universitatis Babes-Bolyai, Series Informatica, all rights, including those pertaining to electronic forms and transmissions, under existing copyright laws, except for the following, which the author specifically retain: the right to make further copies of all or part of the published article for my use in classroom teaching; the right to reuse all or part of this material in a review or in a textbook of which I am the author; the right to make copies of the published work for internal distribution within the institution that employs me.