Activity 01
Pairs: Boundary Test Tables
Pairs receive a function specification, like calculating discounts. They build test tables listing normal, boundary, and invalid inputs with expected outputs. Run tests in their IDE, log failures, and refine code over two cycles, sharing fixes.
How do we determine the minimum number of test cases required to ensure full code coverage?
Facilitation TipDuring Boundary Test Tables, provide a printed function specification so pairs must negotiate which boundary cases apply rather than guessing.
What to look forProvide students with a simple function (e.g., a password validation function). Ask them to list 3 normal data inputs, 3 boundary data inputs, and 3 erroneous data inputs for this function. Review their lists for understanding of data types.