4 ms·
As long as there is a mechanical transformation from one style to another, this is not abstracting, is merely shifting the syntax. You do introduce more named
by pacala 14y ago
As long as there is a mechanical transformation from one style to another, this is not abstracting, is merely shifting the syntax.
You do introduce more named test points, but you risk of creating too many tests at a too small granularity, that will only slow you down for no good reason. Consider using a code coverage tool to help you navigate all the branches, without explicitly naming them.
Keep in mind readability. Jumping around source files is costly on the reader, don't break the flow if you don't have to.