A Visual Approach for the Test Smells Evolution in Java Software
Abstract
Software testing is part of software development. During the testing, poor choices for implementing test code may arise, leading to the Test Smells insertion. The presence of Test Smells in test code can make it ineffective in finding bugs, generating rework, and additional costs. The test code maintenance occurs because of the production code evolution. Software visualization techniques are used to visualize the software evolution. Although these techniques contribute to the software evolution visualizing, they do not cover the test code for visualizing Test Smells. Thus, in the master's work, the objective is to provide a better understanding of Test Smells occurrences and their evolution in test code to Test Managers and Testers, to speed up the identification of problems in test cases, improving their quality. Thus, an approach will be elaborated to visualize this evolution.
Keywords:
Software Evolution, Software visualization, Test Smells
References
Bastos, C.; Costa, H. (2016) “Uma Abordagem para Visualização da Evolução de Código Morto em Sistemas de Software Orientados a Objetos”. In: Workshop de Teses e Dissertações em Qualidade de Software, p.33.
Breugelmans, M.; Van Rompaey, B. (2008) “Testq: Exploring Structural and Maintenance Characteristics of Unit Test Suites” In: International Workshop on Advanced Software Development Tools and Techniques.
Caserta, P.; Zendra, O. (2011) “Visualization of the Static Aspects of Software: A Survey”. In: Visualization and Computer Graphics, v. 17, n. 7, p. 913-933.
Conceição, C. F. R; Carneiro, G.; David, J. M. N. (2012) “Usando Recursos de Visualização Enriquecidos com Elementos de Percepção para a Compreensão de Software em um Ambiente de Desenvolvimento Distribuído”. In: WBVS. p. 41-48.
Crespo, A. N., Silva, O. J., Borges, C. A., Salviano, C. F., Argollo, M., Jino, M. (2004) “Uma Metodologia para Teste de Software no Contexto da Melhoria de Processo”. In: Simpósio Brasileiro de Qualidade de Software, p. 271-285.
Cruz, A., Bastos, C., Afonso, P., Costa, H. (2016) “Software Visualization Tools and Techniques: A Systematic Review of the Literature”. In: SCCC. p. 1-12.
Diehl, S. (2007) “Software Visualization: Visualizing the Structure, Behaviour, and Evolution of Software”, Berlim: Springer. 186p.
Garousi, V., Kucuk, B., Felderer, M. (2018) “What We Know About Smells in Software Test Code”. In: IEEE Software. p. 61-73.
Greiler, M.; Van Deursen, A.; Storey, M. A. (2013) “Automated Detection of Test Fixture Strategies and Smells”. In: ICST. p. 322-331.
Herman, I., G. Melançon, and M. S. Marshall (2000). "Graph visualization and navigation in information visualization: a survey”. In: IEEE Transactions on Visualization and Computer Graphics. p. 24–43.
Kim, D. J. (2019) “An Empirical Study on the Evolution of Test Smell”, https://djaekim.github.io/djae.io/img/EvolutionOfTestSmell.pdf. Acesso: 02/04/2020.
Novais, L. R.; Nunes, C.; Garcia, A.; Mendonça, M. Sourceminer Evolution: A Tool for Supporting Feature Evolution Comprehension. In: ICSM. p. 508-511, 2013.
Palomba, F.; Zaidman, A.; De Lucia, A. (2018) “Automatic Test Smell Detection Using Information Retrieval Techniques”. In: ICSME. p. 311-322.
Pecorelli, F.; do Lillo, G.; Palomba, F.; de Lucia, A. (2020) “VITRuM-A Plug-in for the Visualization of Test-Related Metrics." International Conference on Advanced Visual Interfaces, 1-3.
Peruma, A.; Almalki, K.; Newman, C. D.; Mkaouer, M. W.; Ouni, A.; Palomba, F. (2019) “On the Distribution of Test Smells in Open Source Android Applications: An Exploratory Study”. In: International Conference on Computer Science and Software Engineering. p. 193-202.
Silva, R. O.; Machado, G. B. G.; Viana, G. B.; dos Santos Silva, J. S. (2016) “O Processo de Teste de Software”. In: Tecnologias em Projeção. v. 7.
Spadini, D.; Palomba, F.; Zaidman, A.; Bruntink, M.; Bacchelli, A. (2018) “On the Relation of Test Smells to Software Code Quality”. In: ICSME. p. 1-12.
Sulaiman, S. (2004) “Viewing Software Artifacts for Different Software Maintenance Categories Using Graph Representations”. In: Journal of Science. v. 17, p. 55-67.
Tufano, M.; Palomba, F.; Bavota, G.; Di Penta, M.; Oliveto, R.; De Lucia, A.; Poshyvanyk, D. (2016) “An Empirical Investigation into the Nature of Test Smells”. In: International Conference on Automated Software Engineering, p. 4-15.
Van Deursen, A.; Moonen, L.; Van Den Bergh, A.; Kok, G. (2001) “Refactoring Test Code”. In Conference on extreme programming and flexible processes in software engineering. p. 92-95.
Van Rompaey, B., Du Bois, B., Demeyer, S. (2006) “Characterizing the Relative Significance of a Test Smell”. In: ICSM p. 391-400.
Virgínio, T.; Santana, R.; Martins, L. A.; Soares, L. R.; Costa, H.; Machado, I. (2019) “On the Influence of Test Smells on Test Coverage”. In: SBES. p. 467-471.
Yusifoğlu, V. G.; Amannejad, Y.; Can, A. B. (2015) “Software Test-Code Engineering: A Systematic Mapping”. In: Information and Software Technology. p. 123-147.
Breugelmans, M.; Van Rompaey, B. (2008) “Testq: Exploring Structural and Maintenance Characteristics of Unit Test Suites” In: International Workshop on Advanced Software Development Tools and Techniques.
Caserta, P.; Zendra, O. (2011) “Visualization of the Static Aspects of Software: A Survey”. In: Visualization and Computer Graphics, v. 17, n. 7, p. 913-933.
Conceição, C. F. R; Carneiro, G.; David, J. M. N. (2012) “Usando Recursos de Visualização Enriquecidos com Elementos de Percepção para a Compreensão de Software em um Ambiente de Desenvolvimento Distribuído”. In: WBVS. p. 41-48.
Crespo, A. N., Silva, O. J., Borges, C. A., Salviano, C. F., Argollo, M., Jino, M. (2004) “Uma Metodologia para Teste de Software no Contexto da Melhoria de Processo”. In: Simpósio Brasileiro de Qualidade de Software, p. 271-285.
Cruz, A., Bastos, C., Afonso, P., Costa, H. (2016) “Software Visualization Tools and Techniques: A Systematic Review of the Literature”. In: SCCC. p. 1-12.
Diehl, S. (2007) “Software Visualization: Visualizing the Structure, Behaviour, and Evolution of Software”, Berlim: Springer. 186p.
Garousi, V., Kucuk, B., Felderer, M. (2018) “What We Know About Smells in Software Test Code”. In: IEEE Software. p. 61-73.
Greiler, M.; Van Deursen, A.; Storey, M. A. (2013) “Automated Detection of Test Fixture Strategies and Smells”. In: ICST. p. 322-331.
Herman, I., G. Melançon, and M. S. Marshall (2000). "Graph visualization and navigation in information visualization: a survey”. In: IEEE Transactions on Visualization and Computer Graphics. p. 24–43.
Kim, D. J. (2019) “An Empirical Study on the Evolution of Test Smell”, https://djaekim.github.io/djae.io/img/EvolutionOfTestSmell.pdf. Acesso: 02/04/2020.
Novais, L. R.; Nunes, C.; Garcia, A.; Mendonça, M. Sourceminer Evolution: A Tool for Supporting Feature Evolution Comprehension. In: ICSM. p. 508-511, 2013.
Palomba, F.; Zaidman, A.; De Lucia, A. (2018) “Automatic Test Smell Detection Using Information Retrieval Techniques”. In: ICSME. p. 311-322.
Pecorelli, F.; do Lillo, G.; Palomba, F.; de Lucia, A. (2020) “VITRuM-A Plug-in for the Visualization of Test-Related Metrics." International Conference on Advanced Visual Interfaces, 1-3.
Peruma, A.; Almalki, K.; Newman, C. D.; Mkaouer, M. W.; Ouni, A.; Palomba, F. (2019) “On the Distribution of Test Smells in Open Source Android Applications: An Exploratory Study”. In: International Conference on Computer Science and Software Engineering. p. 193-202.
Silva, R. O.; Machado, G. B. G.; Viana, G. B.; dos Santos Silva, J. S. (2016) “O Processo de Teste de Software”. In: Tecnologias em Projeção. v. 7.
Spadini, D.; Palomba, F.; Zaidman, A.; Bruntink, M.; Bacchelli, A. (2018) “On the Relation of Test Smells to Software Code Quality”. In: ICSME. p. 1-12.
Sulaiman, S. (2004) “Viewing Software Artifacts for Different Software Maintenance Categories Using Graph Representations”. In: Journal of Science. v. 17, p. 55-67.
Tufano, M.; Palomba, F.; Bavota, G.; Di Penta, M.; Oliveto, R.; De Lucia, A.; Poshyvanyk, D. (2016) “An Empirical Investigation into the Nature of Test Smells”. In: International Conference on Automated Software Engineering, p. 4-15.
Van Deursen, A.; Moonen, L.; Van Den Bergh, A.; Kok, G. (2001) “Refactoring Test Code”. In Conference on extreme programming and flexible processes in software engineering. p. 92-95.
Van Rompaey, B., Du Bois, B., Demeyer, S. (2006) “Characterizing the Relative Significance of a Test Smell”. In: ICSM p. 391-400.
Virgínio, T.; Santana, R.; Martins, L. A.; Soares, L. R.; Costa, H.; Machado, I. (2019) “On the Influence of Test Smells on Test Coverage”. In: SBES. p. 467-471.
Yusifoğlu, V. G.; Amannejad, Y.; Can, A. B. (2015) “Software Test-Code Engineering: A Systematic Mapping”. In: Information and Software Technology. p. 123-147.
Published
2020-10-19
How to Cite
CRUZ, Adriana; COSTA, Heitor.
A Visual Approach for the Test Smells Evolution in Java Software. In: WORKSHOP ON THESES AND DISSERTATIONS (WTDSOFT) - BRAZILIAN CONFERENCE ON SOFTWARE: THEORY AND PRACTICE (CBSOFT), 11. , 2020, Evento Online.
Anais [...].
Porto Alegre: Sociedade Brasileira de Computação,
2020
.
p. 63-69.
DOI: https://doi.org/10.5753/cbsoft_estendido.2020.14610.
