02 Testing and Validation

There are many approaches to validation

This is a spectrum! The methods at the top are less formal, and may miss problems, and the bottom are more formal! Even the most formal methodologies have holes though. Even if you mathematically prove that the program is correct, you must ask... "did I prove the right thing?"

Testing vs. Verification

Testing

Verification

Verification is traditionally used for high stakes enviorments, such as radiation machines, aeronatics, and spaceflight. We'll study a little verification later in the course.

Program testing can at best show the presence of errors, but never their abscence.

Edsger W. Dijkstra, 1972 Turing Award winner