Activity 01
Test Case Design Workshop
Each student writes a function and then designs a test suite with at least six cases: two typical inputs, two boundary values, and two invalid inputs. They trade functions with a partner, who runs the test suite and reports which cases passed and which failed, with notes on what the failure revealed.
Explain the importance of testing functions with different inputs.
Facilitation TipDuring Test Case Design Workshop, have students work in pairs to write test cases for a function you provide first, then for each other's functions to model the peer review process.
What to look forStudents exchange functions they have written. Each student then writes 3-5 test cases for their partner's function, specifying the input and the expected output for each. Partners then run the tests and discuss any discrepancies.