Testing is primarily used to identify defects in the software. While it can show the presence of defects, it cannot guarantee that no defects are present. Thus, testing helps in demonstrating that there are defects, which can then be addressed.
[Reference: ISTQB CTFL Syllabus, version 4.0, explains that testing can demonstrate the presence of defects but cannot prove their absence., , ]
Submit