Lesson Plan for a 45’ tutorial

Target audience

Programmers who have already written programs on their own but would like to learn about automated software testing.

Learning Objective

During the tutorial participants will implement automatic test functions that pass for the Moby Dick example. using the unittest module within 20’.

Lesson Plan

module topic time
warm-up hello 1’
warm-up question: How do you know that your code works? 4’
motivation explain the benefit: You will be able to check in a few seconds that your program works. 1’
new content overview of the code example 1’
new content run the code example; collective analysis 15’
application write code using the task description 20’
wrap-up discuss pros and cons of testing 15’
wrap-up point to materials 2’
wrap-up goodbye 1’