3 ms·
A computer, being approximately a Universal Turing Machine, can virtualize anything, including a "better" computer. So, a better question to ask is: "If unit a
by noblethrasher 9y ago
A computer, being approximately a Universal Turing Machine, can virtualize anything, including a "better" computer.
So, a better question to ask is: "If unit and integration testing are so great, why not create a virtual system and corresponding programming language that will do nearly all of the unit and integration testing automatically."
- mdpopescu 9y agoI believe Microsoft's Pex [1] is an attempt to generate all the unit tests automatically. You can't do that with integration tests, because their number grows exponentially with the number of paths in the code [2]. [1] https://www.microsoft.com/en-us/research/project/pex-and-moles-isolation-and-white-box-unit-testing-for-net/ https://www.microsoft.com/en-us/research/project/pex-and-mol... [2] http://blog.thecodewhisperer.com/permalink/integrated-tests-are-a-scam http://blog.thecodewhisperer.com/permalink/integrated-tests-...