3 ms·
By definition, unit tests test the implementation. A test at the API design contract level is an integration test. The only place where these are the same thing
by mannykannot 9y ago
By definition, unit tests test the implementation. A test at the API design contract level is an integration test. The only place where these are the same thing are pure (side-effect-free) functions that do not call other functions.