arieslab / jnose

JNose - Java TestSmells Detection
GNU General Public License v3.0
20 stars 8 forks source link

"@Test" tag identification #39

Open luana-martins opened 3 years ago

luana-martins commented 3 years ago

Problem: The JNose Test identifies whether a method is a test method by locating the tag "@Test". However, if the method has more than one tag and "@Test" is not the first one, then the method is not identified as a test method.

Solution: Search the tag "@Test" in all annotations used before a method.