One good test
Daniel Carral edited this page Sep 13, 2016
·
4 revisions
- Test-driven development
- Test Doubles
- Refactoring Legacy Code
- Training Activities
- Additional Concepts
Clone this wiki locally
(Training Exercise)
For this exercise, we'll work as a mob and test-drive the Greeting Kata to get a feel for what an expressive test looks like in various testing frameworks.
In this activity, we'll:
- Start with a live code demonstration of the first requirement or two by the instructor
- For each additional requirement we implement, cycle in a new driver to the keyboard
- Throughout, but especially during the refactor step, solicit and offer feedback to one another (nitpicks are encouraged)
- Hold a mini-retrospective contrasting the exercise to our previous experiences
Conversations
Even a simple test like this one can raise a lot of meaningful conversations. Some topics that may come up:
This wiki was put together by your friends at test double. Come say hi!