I thought testing and debugging were synonymous, but according to this article, they are not. The purpose of testing is to show that a program has bugs. The purpose of debugging is to correct and find solutions to these bugs. So testing is finding the bugs and debugging is fixing the bugs. One leads to the other. I found it interesting that the objective of testing is to prove that the program is free of bugs- but this is an impossible objective to reach. There will always be bugs, we just have to decided the amount of bugs that are "acceptable"- which is a judgement call. Human error is inevitable. At the hospital I worked it, we had protocols in place to prevent human error, but accidents/errors still happened. We aren't perfect and neither are the programs that we will write.
No comments:
Post a Comment