arieslab / jnose

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

Traceability between test class and production class #37

Open luana-martins opened 3 years ago

luana-martins commented 3 years ago

As a first step to analyze the precision of the JNose detection rules, we will run the JNose into the tsDetect dataset. The tsDetect dataset only contains 65 test files. You can find it here -> https://testsmells.github.io/pages/research/toolcorrectness.html.

Problem. The JNose cannot identify all test classes of this dataset. For example, in the my-batis3 project there is a Conditional Test Logic in the ExpressionEvaluatorTest test class (https://github.com/mybatis/mybatis-3/blob/master/src/test/java/org/apache/ibatis/builder/xml/dynamic/ExpressionEvaluatorTest.java). But the JNose cannot identify it. Can you reproduce this problem?