4 ms·
> If you can test each part of a system independently, and the parts connect in a reasonably trivial fashion, it’s about as good as testing the whole. Not real
by Chilinot 8y ago
> If you can test each part of a system independently, and the parts connect in a reasonably trivial fashion, it’s about as good as testing the whole.
Not really, which is why integration tests are so important.
- scriptkiddy 8y agoDepends. In functional programming, if all components of a pipeline are tested independently, you can all but guarantee that the pipeline as a whole will work as intended. That said, software testing isn't really an apt analogy now that I give it some thought. Testing real world equipment has to contend with a lot more edge cases and environmental factors.