Definition: conditional Test Logic (CTL) JUnit 4 provides developers with the ability to suppress test methods from running. However, these ignored test methods result in overhead since they add unnecessary overhead with regards to compilation time, and increases code complexity and comprehension.
Detection:A test method or class that contains the @Ignore annotation.
BUG test whit this annotation: @ignore, is not being identified as a test smell
example:
@Ignore("testing ignored test")
public void ignored_test() {
}
To reproduce: you can Run Jnose on this project and verify the output
Definition: conditional Test Logic (CTL) JUnit 4 provides developers with the ability to suppress test methods from running. However, these ignored test methods result in overhead since they add unnecessary overhead with regards to compilation time, and increases code complexity and comprehension.
Detection:A test method or class that contains the @Ignore annotation.
BUG test whit this annotation: @ignore, is not being identified as a test smell
example:
@Ignore("testing ignored test") public void ignored_test() { }
To reproduce: you can Run Jnose on this project and verify the output
https://github.com/danielevalverde/jnose-tests