Re:Testcontainers
by occz on Wednesday February 28, 2024 @01:40AM
(#39534791)
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.
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.