2 ms·
Arguably you're no longer testing a unit if the unit involves an integration with an external component, making it an integration test per definition. Integrat
by occz 3y ago
Arguably you're no longer testing a unit if the unit involves an integration with an external component, making it an integration test per definition.
Integration tests are fine, but they test something else - that your component integrates as intended with <something>, while a unit test moreso tests that your unit behaves in accordance with its specification.