31 ms·
That'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 su
by mrkeen 2y ago
That'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.