What does testing check?
Testing checks whether the program implementation agrees with the program specification
Automated vs Manual testing
Automated Testing
Manual Testing
Black-box vs White-box testing
Black-box:
White-box:
What is a pre-condition? What is a post-condition?
A pre-condition is a predicate that is assumed to hold before a function executes.
A post-condition is a predicate that is expected to hold after a function executes, whenever the pre-condition also holds.
What are the types of code coverage?
What is mutation analysis?
Test variations (mutants) of the program (e.g., replace x > 0 with x < 0). If the test suite is good, it should report failed tests in the mutants.