Testing - lecture 10
Defect testing
Defect testing - looking for problems with the codes behaviour
The idea is that you find so may bugs that there cant be many left
Validation testing
Validation testing - validating that the code meets the requirements
Four levels of tests
- Unit tests - testing functions/methods in code
- Good for test driven development
- Integration tests - testing if multiple methods work together
- System tests - testing the entire system, essentially end2end tests
- looks at: security, scalability, installation, documentation, recoverability,
load and stability
- Acceptance tests - See what the real users think of the updates, might only hand it out to
some people A/B testing (Alpha/Beta)
Writing test cases example
Given a thing has happend
When another thing happens
Then do this