Slides and code of the coding dojo held in Florence @ImpactHub
https://coding-dojo-fi-vol2.eventbrite.com
Intro slides here: Coding Dojo
We've choosen the Racing-Car-Katas Refactoring Kata to train us to break dependencies that make code hard to test. We did the same exercise (TirePressureMonitoringSystem) over and over trying different techniques at each working session. Here the rules we've set for each session:
- Don't modify
Sensorclass - Proceed with tiny safe refactorings
- Minimize changes in
Alarmclass - Evaluate the impact of implemented refactoring
- Finally test suite for
Alarmclass - Slow down. Focus on doing it right