Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
I am working on research that investigates test smell refactoring in which we identify alternative implementations of test cases, study how commonly used these refactorings are, and assess how acceptable they are in practice.
This smell occurs when inappropriate assertions are used, while there exist better alternatives. For example, assertFalse(x.equals( y )); can be refactored using assertNotEquals(x, y);.
I would like to get your feedback on this particular test smell and its refactoring. Thanks in advance for your input.
Attachments
Attachments
Issue Links
- links to