4 ms·
I find that integration tests tend to have a much higher set up cost (especially if you are serious about test isolation), but that cost is amortized over the l
by crdoconnor 8y ago
I find that integration tests tend to have a much higher set up cost (especially if you are serious about test isolation), but that cost is amortized over the lifetime of the project because the code is much more reusable.
Unit tests are less expensive to set up on a per test basis but the code is less reusable and the ongoing maintenance tends to be higher.
- collyw 8y agoProbably, provided that your system is evolving too quickly - that can often be a problem.