The Value of White-box Testing
- Thorough Coverage
- Error Localization
- Optimization and Performance
- Security enhancement
- Regression testing
- Complements black box testing
My own additions:
- Fast. Unit (Component)
Provides a measure of code coverage via statement and branch testing.
Someone, whether it’s a Developer, SDET, or QA needs to be doing white-box testing. Otherwise defects will be found through tests later in the SDLC which will then take more time to fix and verify.