6 ms·
That's a reasonable argument but doesn't bother me because 1) I don't like the given/when/then syntax anymore (a personal thing, but I do see the advantages (U
by ludicast 16y ago
That's a reasonable argument but doesn't bother me because
1) I don't like the given/when/then syntax anymore (a personal thing, but I do see the advantages (Uncle Bob has a great article about it))
2) I don't mind the nesting as long as each context is making explicit what it does.
Of course it's a "different strokes" thing. I could see this not fitting in with everybody's style but for me it has DRYed up the parts of a test that should be DRY (imho).