JNose Test

Java TestSmells Detection




About

About

JNose Test is a tool developed to automatically detect test smells in test code, and to collect coverage metrics. JNose test is an extension of the Test Smell Detector. Besides presenting the number of test smells detected by class, our tool shows the collection of code metrics and test coverage using the JaCoCo library; a unified result for all projects under analysis; and a graphical interface. In addition, the project uses the Apache Maven to manage all library dependencies and support the compilation and execution of the JNose Test tool.

Features

Features

Test Smells

JNose Test identifies 21 different types of test smells

Java and JUnit

Detects test smells in Java projects with JUnit framwork

Online Server

JNose test is available on a web platform and can be used on any device

Open Soruce

JNose Test is open source and under the GNU General Public License

Interface

JNose Test has a graphical interface, which allows for a better user experience

Export Report

JNose Test generates a .csv report with all detected test smells

Demonstration

Demonstration



On the home screen we have the description of each search option and the configuration option:

  • by ClassTest: Performs the search based on the test class, returning the quantity of each type of test smells found in each class.
  • by TestSmells: performs the search based on the smell of the test, displaying in which class and in which line that it was found.
  • Evolution: Search in the project repository(git) looking for test smells in each commit/tag done.
  • Configuration: We have the option to choose which test smells we want to perform the research, by default all are selected.

Initially we paste the repository link on the project screen E.g: https://github.com/tassiovirginio/jnose. After paste the address of the repository, you can see that the project on the page and you can update this project for the latest version by using git pull function any time. In the box below, all projects will be displayed. Then you can choise display the tests smells by ClassTest or By TestSmells on the Menu bar.

Publications

Publications

VIRGINIO, T. G. A.; MARTINS, L. A.; SOARES, L. R.; SANTANA, R. S.; CRUZ, A. P. S. ; COSTA, H. A. X. ; MACHADO, I. C. JNose: Java Test Smell Detector. In: Simpósio Brasileiro de Engenharia de Software (SBES), 2020, Evento Virtual. XXXIV Simpósio Brasileiro de Engenharia de Software (SBES) - Trilha de Ferramentas, 2020.


VIRGINIO, T. G. A. ; MARTINS, L. A. ; SOARES, L. R. ; SANTANA, R. S. ; COSTA, H. A. X. ; MACHADO, I. C. . An empirical study of automatically-generated tests from the perspective of test smells. In: Simpósio Brasileiro de Engenharia de Software (SBES), 2020, Evento Virtual. XXXIV Simpósio Brasileiro de Engenharia de Software (SBES), 2020.


VIRGÍNIO, TÁSSIO; SANTANA, RAILANA; MARTINS, LUANA ALMEIDA; SOARES, LARISSA ROCHA; COSTA, HEITOR; MACHADO, IVAN. On the influence of Test Smells on Test Coverage. In: the XXXIII Brazilian Symposium, 2019, Salvador. Proceedings of the XXXIII Brazilian Symposium on Software Engineering - SBES 2019, 2019. p. 467.

JNose Test tool development

JNose Test tool development

Tássio Virgínio

Tech Leader
Master in Computer Science
The JNose Test tool was designed by Tássio Virgínio. The tool is one of the main contributions of the research developed by Tássio during his master's degree in Computer Science from the Federal University of Bahia, supervised by Professor Dr. Ivan Machado.

Contact email: tassio(dot)virginio(at)gmail(dot)com

Contributions
  • Daniele Valverde
  • Luana Martins
  • Railana Santana
  • Jonathan Bispo


Contact

Contact

JNose Test tool is part of a work developed by the research group
Aries Lab at the Federal University of Bahia (UFBA)

Our Address

Universidade Federal da Bahia

Institute of Mathematics and Statistics

Av. Adhemar de Barros, s/nº - Ondina

Salvador - BA, Brazil, 40170-110

Aries Lab e-mail

arieslab@gmail.com