Missed Skip Rotten Green Test
Definition:
Test methods contain guards to stop their execution early under certain conditions.
Code Example:
@Test
public void testNormalizedKeysGreatSmallAscDescHalfLenght(){
TypeComparator<T> comparator = getComparator(true);
if (not(comparator.supportsNormalizedKey())){
return;
}
testNormalizedKeysGreatSmall(true, comparator,true);
testNormalizedKeysGreatSmall(false, comparator,true);
}
References:
Quality attributes
- Code Example
- Cause and Effect
- Frequency
- Refactoring