3 ms·
Yeah, if you can start up the actual things, then you know your code's going to work against the actual things. That's ultimately what we're aiming for.
by jrockway 2y ago
Yeah, if you can start up the actual things, then you know your code's going to work against the actual things. That's ultimately what we're aiming for.
- mrkeen 2y agoThat's not sufficient. The actual things are IO devices, and will sometimes fail and sometimes succeed. No judgement, just a fact of life. I code my tests such that my logic encounters successes, timeouts, exceptions, thread-cancellations, etc. All at unit-test speed. I can't trick an MSSQL deployment into returning me those results. It doesn't take 30 seconds to test what your system will do in 30 seconds.