Feasibility of using Source Code Changes on the Selection of Text-based Regression Test Cases

This paper investigates the relationship between recently modified source code and the selection of text-based regression test cases. The main reason is that our industrial partner uses release notes documents to perform such a selection, but these documents are not so well-written as the text-based test cases. Therefore, we intend to extract useful text from source code to see whether they can serve as a source of keywords in the selection process. We present an experiment that shows promising results about this hypothesis.

[1]  Per Runeson,et al.  A systematic review on regression test selection techniques , 2010, Inf. Softw. Technol..

[2]  Mohammed Akour,et al.  Test Cases Selection Based on Source Code Features Extraction , 2014 .

[3]  Eitan Farchi,et al.  Advanced code coverage analysis using substring holes , 2009, ISSTA.

[4]  Qian Yang,et al.  A survey of coverage based testing tools , 2006, AST '06.

[5]  Tony Gorschek,et al.  Large-scale information retrieval in software engineering - an experience report from industrial application , 2016, Empirical Software Engineering.

[6]  Alexandre Mota,et al.  Automatic Selection of Test Cases for Regression Testing , 2016, SAST.

[7]  S.A. Bohner,et al.  Software change impacts-an evolving perspective , 2002, International Conference on Software Maintenance, 2002. Proceedings..

[8]  Patrícia Duarte de Lima Machado,et al.  Seleção Automática de Casos de Teste de Regressão Baseada em Similaridade e Valores , 2013, RITA.

[9]  Roger S. Pressman,et al.  Software Engineering: A Practitioner's Approach , 1982 .

[10]  Gregg Rothermel,et al.  Analyzing Regression Test Selection Techniques , 1996, IEEE Trans. Software Eng..

[11]  Christopher D. Manning,et al.  Introduction to Information Retrieval , 2010, J. Assoc. Inf. Sci. Technol..

[12]  Darko Marinov,et al.  Balancing trade-offs in test-suite reduction , 2014, SIGSOFT FSE.

[13]  Hinrich Schütze,et al.  Introduction to information retrieval , 2008 .

[14]  Bogdan Korel,et al.  Model based regression test reduction using dependence analysis , 2002, International Conference on Software Maintenance, 2002. Proceedings..

[15]  Glenford J. Myers,et al.  Art of Software Testing , 1979 .

[16]  Sarfraz Khurshid,et al.  An Information Retrieval Approach for Regression Test Prioritization Based on Program Changes , 2015, 2015 IEEE/ACM 37th IEEE International Conference on Software Engineering.