At a conference, I heard a professor said that detecting error was only one aspect of testing (or purpose, I don't remember exactly). He said that testing is also used to:
- Understanding the system
- Refactoring
- ...
I didn't have time to ask for references. I wonder if there are books or papers discussing about purposes of testing other than detecting errors. Note that I'm not asking for explanation, I'm looking for reference.