What is the purpose of testing:
- Gaining confidence in software quality. Testing can be measured which makes it popular. (Code coverage and stuff, number go up = happy, but it isnt optimal)
- acceptence of client, basically how u gonna convince the client that the code is good by showing numbers. its something to point at.
Main goal: To detect failures.
Termonology (kinda)
Error = A mistake we as humans made wrong. Fault = Result of an error. (also known as a “bug”) Failure = Runtime error or compile time (but normally compile time wouldnt apply)