3 ms·
Wow that's interesting, because I never even considered that a unit test to be other than a test to a small unit. Is it not right there in the name?
by emmelaich 3y ago
Wow that's interesting, because I never even considered that a unit test to be other than a test to a small unit.
Is it not right there in the name?
- cassianoleal 3y agoI guess what the OP is arguing is that "unit test" doesn't mean you "test a unit" but rather that "each test is a unit" - i.e. each test executes independently from all other tests. I just find that good testing practice tbh but it's true that there are loads of test suites out there that require tests to be run in a particular sequence. I haven't seen one of those in a while but they used to be quite common.
- BurningFrog 3y agoYes. That is definitely the original intention of the term! Of course, language can and does drift etc, but I haven't seen the other use anywhere else.