This scheme does not require students to undertake formal testing strategies. Running the code, checking it works as expected and that it meets the success criteria is enough when learning to write programs. However, in preparation for examinations and as programs become more complex, undertaking more formal unit, black box and white box testing is a good idea.
Students can undertake this on the programs they write. We suggest adding this additional requirement to the "evaluate" section of the learning or practice programs.
Alternatively, this can be a good whole class activity. Give students the solution code to a problem and ask them to test it. You could even introduce some logic errors before sharing the code that need identifying and fixing as a result of testing.
Use our test table framework to help students structure their testing.