Depending on your development methodology, unit tests can serve a number of different functions. But if used purely to detect bugs then they are a very high cost approach for low return.Unit tests dont test the overall program, only isolated units. This creates many holes integration, timing, re-entrancy, inter-module communication that need to be tested another way. These limitations are not unique to application development so Ill focus instead on something that is: the difficulty of isolating your units for testing.Advocates of unit testing claim that you can follow good program design and reduce coupling and integration, making tests easy to write.Unfortunately, in application development, thats not exactly possible.
→ Quality control in application development without unit testing
Posted in: Programming