3 ms·
> Given a medium-sized project and at least a passing and a failing test case for each function and method, you end up if not with hundreds, but with dozens of
by BurningFrog 3y ago
> Given a medium-sized project and at least a passing and a failing test case for each function and method, you end up if not with hundreds, but with dozens of tests largely doing the same thing.
I don't understand this comment.
If I have one unit test for each function/method, that's just one test doing the same thing.
- troupo 3y ago1. Your unit test probably shouldn't be testing several conditions at once [1] 2. Even if its just one unit test per function/method, even in a medium-sized project it's dozens of tests, many if them overlapping, with no idea if those functions/methods even work together correctly [1] Depends on function/test