3 ms·
Do you have the DB on the dev machines, or just as part of the build server? We found that running unit tests that hit databases was far too slow to have peopl
by AndrewDucker 15y ago
Do you have the DB on the dev machines, or just as part of the build server?
We found that running unit tests that hit databases was far too slow to have people running them all the time. Ones which mocked out database calls were over 100 times faster, which meant we can run the whole test suite in under three minutes, where the old test suite we used to have which made DB calls took over an hour and a half, which was infeasible to run on check-in, let alone on dev machines.
- cma 15y agoYou guys ran into this while developing a 'Mom's Recipe Book' type app?