4 ms·
> it is still great to know that building blocks work as intended. The only way to know that the building blocks work as intended is through integration testin
by troupo 3y ago
> it is still great to know that building blocks work as intended.
The only way to know that the building blocks work as intended is through integration testing. The multiple "all unit tests passed, no integration tests" memes show that really well.
- osigurdson 3y agoI suspect you are not finding many bugs in common built-in libraries via integration tests however. The same concept can extend to code that our own teams write.
- tomnipotent 3y ago> finding many bugs in common built-in libraries via integration tests I'm not convinced they're finding them with unit tests, either. No shortage of public repos with great test coverage that still have pages of Pull Requests and Issues dealing with bugs. In many of those instances, you could argue that it's the act of integration testing (the team trying to use the project) that ends up catching the issues.
- osigurdson 3y agoI think for low level functionality, unit tests and integration tests are the same thing. As an absurd example, consider a function that’s adds two numbers together producing a result.
- adrianN 3y agoIf your whole Program is one unit there is no integration between units that warrants an integration test.