DEV Community

Discussion on: 2 unit tests. 0 integration tests.

Collapse
 
victoryarema profile image
Victor Yarema • Edited

Not quite. Not always. I remember really many cases when integration tests are not needed simply because that specific integration logic will be checked with any single smoke test.
To be more precise the situation on the photo has absolutely nothing to do with integration testing. It would fail exactly the same in case of unit test like "put the car on top of the box and lift it".