Traditional Testing vs. Unit Testing
Learn what unit testing is and its benefits.
Traditional testing
In traditional testing:
- Individual components are rarely tested
- Errors go undetected
- Isolation of errors is difficult to track down
Traditional testing strategies
The various strategies of traditional testing are:
- Print statements
- Use of a debugger
- Debugger expressions
- Test scripts
Drawbacks of traditional testing strategies
Instead of testing the system as a whole, it is always better to test individual components so that we have confidence in the overall system.
Traditional testing strategies are not adequate to test individual components. In this case, unit testing is a better strategy.
Get hands-on with 1400+ tech skills courses.