2 ms·
Apprantly people misunderstand a unit. Apprantly Kent beck meant unit to mean a single piece of behaviour, not classes or methods. https://www.thoughtworks.com/
by UK-AL 9y ago
Apprantly people misunderstand a unit. Apprantly Kent beck meant unit to mean a single piece of behaviour, not classes or methods.
https://www.thoughtworks.com/insights/blog/mockists-are-dead-long-live-classicists https://www.thoughtworks.com/insights/blog/mockists-are-dead...
- flukus 9y ago> Apprantly Kent beck meant unit to mean a single piece of behaviour Which is just as ambiguous. Personally I stick with the single assert principal (which may be more than one literal assert) so that whatever I'm asserting is the behavior that this test is verifying.