Test Envy
Definition:
A test that is really testing some other class than the one it is supposed to. A common example of this is testing model validations in the controller when they should be tested in the model test
References:
Quality attributes
- Code Example
- Cause and Effect
- Frequency
- Refactoring