DamiΓ‘n Pumar

← Back to courses

Test-Driven Development

πŸ™Œ Proposal

  • ⏰ 4 days of online course, 4 hours per day (morning or afternoon)
  • πŸ‘¨β€πŸ’» Team
    • 6-10 people
    • Mid/senior
  • πŸ’Ά Price

🀞 Requirements

🌎 Browser

πŸ‹πŸΌ The work modality will be with https://www.codescouts.academy/blog/mob-programming/

πŸ’‘Optional: Each class will be recorded and uploaded to the Codescouts Campus automatically at the end of each session (private workspace for you) So students can review the classes, or see them if they have not been able to attend β†’ [https: //campus.codescouts.academy/] (https://campus.codescouts.academy/)

πŸ“‹ Agenda

1️⃣ Day 1 - What is TDD? πŸ€”

  • 🀝 Presentation β†’ ⏲️10min
  • 🀲 Enter the Explanation course agenda β†’ ⏲️10min
  • πŸ“• Theory β†’ ⏲️30min
    • πŸ‘οΈβ€πŸ—¨οΈ The three laws of the TDD and the Red-Green-Refactor cycle.
    • 🐣 Baby Steps.
    • ➿ Eliminate duplicity by refactoring: the rule of three.
    • 3️⃣ The three ways of moving from red to green.
    • 🚦 Writing independent tests of the implementation.
  • πŸ‰ Exercise 1 - Fizz buzz Kata ⏲️90min
  • πŸ₯ Break β†’ ⏲️10min
  • ⚽️ Exercise 2 - Leap year Kata ⏲️90min
  • πŸ€” Reflection β†’ ⏲️10min

2️⃣ Day 2 - Habits of TDD πŸ‘€

  • 🀝 Doubts of yesterday β†’ ⏲️5min
  • πŸ“• Theory β†’ ⏲️30min
    • πŸ’― Principles of unit tests: First.
    • πŸ›οΈ Test structure: Given/When/Than.
    • 🦾 Program from assertion.
    • 🌊 Identify and test different axes of functionality.
  • πŸ‰ Exercise 1 - String calculator Kata ⏲️90min
  • πŸ₯ Break β†’ ⏲️10min
  • ⚽️ Exercise 2 - Anagrams Kata ⏲️90min
  • πŸ€” Reflection β†’ ⏲️10min

3️⃣ Day 3 - Transformation priority premise πŸ‘€

  • 🀝 Doubts of yesterday β†’ ⏲️5min
  • πŸ“• Theory β†’ ⏲️30min
    • πŸ™„ TPP: A systematic method to determine the obvious implementation.
  • 🎯 Exercise 1 - Roman numerals Kata β†’ ⏲️90min
  • πŸ₯ Break β†’ ⏲️10min
  • 🎳 Exercise 2 - Bowling Kata β†’ ⏲️90min
  • πŸ€” Reflection β†’ ⏲️10min

4️⃣ Day 4 - Object oriented design with TDD πŸƒ

  • 🀝 Doubts of yesterday β†’ ⏲️5min
  • πŸ“• Theory β†’ ⏲️30min
    • Why TDD is not enough to write clean code.
    • Object Calisthenics: 10 Rules to write better object oriented code.
    • Heuristics: Tell Don’t Ask, Law of Demeter.
  • 🎳 Exercise 1 - Tic Tac Toe Kata β†’ ⏲️90min
  • πŸ₯ Break β†’ ⏲️10min
  • 🎾 Exercise 2 - Game of life Kata β†’ ⏲️90min
  • πŸ€” Reflection - Advantages and Disadvantages of TDD in Frontend β†’ ⏲️10min

πŸ₯‹ Coach

DamiΓ‘n Pumar

DamiΓ‘n Pumar

Technical coach / Software craftsman / Speaker

🌐 https://damianpumar.com/

🐦 https://twitter.com/damianpumar

🎀Latest speaker conference πŸ‘‰ https://www.damianpumar.com/events/

Something wrong? Let me know πŸ™

← Back to courses