Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.22 KB

Facilitation.md

File metadata and controls

28 lines (22 loc) · 1.22 KB

The Mikado method

Preparation

  • A tool to draw a mikado graph (eg: a miro board, Coggle, Xmind, Mindmup ..)
  • An IDE with the kata you choose opened

Learning Goals

  • Explain the interest of using the mikado method to refactor legacy code
  • List the steps to create a mikado graph

Connect (5 min)

Three situations that happened when refactoring a legacy codebase. 1 note per situation

Concepts (15 min)

  • Introduce the mikado method and and its workflow.
  • Make a demo using the test-data-builders-kata, choosing the language of your choice:
    • Mikado Goal: replace test inputs creation with Test Data Builders
    • Create a Test Data Builder for an Invoice, using only builders
    • Solution for the next step: Create a Test Data Builder for a BookPurchase
    • Revert changes

Concrete Practice (35 min)

  • Use the previously found prerequisite as starting point for the team
  • Make the team guide you in the next steps of implementation and draw the mikado graph

Conclusion - Does our code have this issue? (5 min)

Ask people to discuss for 5 minutes about the question: Do you have part of your codebase to refactor where you could apply the Mikado Method ?