From 67b8a236b44f1e681c1344e1771aa1eb85ee4d76 Mon Sep 17 00:00:00 2001 From: emily Date: Tue, 16 Jan 2024 16:50:26 +0100 Subject: [PATCH] Add some learning goals --- .../refactoring/conditional_to_polymorphism.md | 5 +++++ _learning_hours/small_steps/test_list.md | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/_learning_hours/refactoring/conditional_to_polymorphism.md b/_learning_hours/refactoring/conditional_to_polymorphism.md index fb64b21..aca65bf 100644 --- a/_learning_hours/refactoring/conditional_to_polymorphism.md +++ b/_learning_hours/refactoring/conditional_to_polymorphism.md @@ -12,6 +12,11 @@ affiliation: Praqma This refactoring replaces conditional logic with classes and polymorphism. The code smell that leads you to it is having a lot of similar switch statements that switch on type. In this session we'll practice doing it, and hopefully see just how good modern IDE tooling is for this kind of task. +## Learning Goals + +* Use refactoring tools and keyboard shortcuts while refactoring +* Use a sequence of smaller refactorings to complete a larger refactoring + ## Session Outline * 5 min connect: top tips for refactoring productivity diff --git a/_learning_hours/small_steps/test_list.md b/_learning_hours/small_steps/test_list.md index b304701..c98a39c 100644 --- a/_learning_hours/small_steps/test_list.md +++ b/_learning_hours/small_steps/test_list.md @@ -8,7 +8,13 @@ author: emilybache # Make a test list -In agile, Big Design Up Front (BDUF) is something to be avoided, but that doesn't mean we don't do any design at all. Before starting to code with TDD it really helps to spend a few minutes on Little Design Up Front. Part of that is making a list of test cases we will work on. +In agile, Big Design Up Front (BDUF) is something to be avoided, but that doesn't mean we don't do any design at all. Before starting to code with TDD it really helps to spend a few minutes on Little Design Up Front. Part of that is making a list of test cases we will work on. In this learning hour we learn why this is important but will not necessarily become skilled enough to actually do it. + +## Learning Goals + +* Identify the difference between a test list and a problem description +* Recognize the role of a test list in TDD +* Understand why they would benefit from learning how to create a test list from a problem description ## Session Outline