2 ms·
If a term is popular, people will use it in different ways. I don't see so much wrong with that, so long someone is using the terms usefully. e.g. with unit te
by rgoulter 6y ago
If a term is popular, people will use it in different ways. I don't see so much wrong with that, so long someone is using the terms usefully.
e.g. with unit test, there's surely more than one useful way to emphasise it:
I suppose if a test is small and doesn't talk to a database, etc., then it will be quick. -- I think that's one thing people mean when they say "unit tests": "tests that I can run quickly".
I think another sense of the word "unit" is more sophisticated, meaning "the system under test should be a coherent unit" or something, in the same way that some function/class/etc. should have a single responsibility.