TDD Hat
I’ve achieved some notoriety with my Test Driven Development hat. Not so much when I wear it
, but certainly when Uncle Bob does. So much so that he has received queries about acquiring or making them.
I never planned on making a profit from these hats. I only built one, to use as a prop when I’m describing Test Driven Development. Apparently there is more demand than I anticipated.
Since I don’t want to go into the hat business, I’ve decided to license the design under the Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) license. Basically that means that you acknowledge the design came from me, and that you don’t assert any proprietary rights over adaptations to the design. Other than that, you’re welcome to make them, give them away, put advertising on them, sell them, …. Have at it!
I got the red, green, and blue baseball caps on Amazon. You’ll find more detailed views below. I originally thought to unstitch the hats and restitch the front pieces together. That appeared to be too difficult, so I cut the red and green ones apart and stitched the front pieces onto the blue one. This left the size adjustment still working.
Ken Faw (@kenfaw) wrote:
OK, George… that’s just weird.
Can’t you just proselytize TDD? It only makes sense when you speak it effectively…
Kind regards,
–Ken
Posted on 26-Dec-12 at 6:55 pm | Permalink
Chris Hibbert wrote:
Would you mind expanding on how this fits into your explanation of TDD? I’m guessing I’d use it when talking about the common practice of using a build status light to remind everyone of the status of the build, but I haven’t come up with patter that fits a hat seamlessly into the story.
Posted on 27-Dec-12 at 9:46 am | Permalink
George Dinwiddie wrote:
It’s about being mindful of the current state as you’re doing TDD, and only doing one thing at a time.
If you’re in the green state, you can write a test and go to red. If you’re in a red state, you should only write code to return to green (or back out the test).
When you refactor (starting only in the green state), you shouldn’t be doing anything else, either new tests or new functionality.
Posted on 27-Dec-12 at 1:41 pm | Permalink
Tobias Fors wrote:
George, this is a wonderful and very pedagogical innovation, that marks you as a master teacher in my eyes. Love it.
Posted on 16-Jan-13 at 2:49 pm | Permalink
Willem wrote:
Brilliant!!! Amped Signal and Focus to achieve Fluency!
Posted on 06-Feb-13 at 8:22 pm | Permalink
Abdul Samad wrote:
I need this cap. From where can I get it?
Posted on 24-May-16 at 7:18 am | Permalink
George Dinwiddie wrote:
Abdul, the easiest way is to make your own. Or you could find someone to sew it for you.
Posted on 26-May-16 at 3:55 pm | Permalink
A história do chapéu do TDD | Eu adoro programar wrote:
[…] TDD Hat […]
Posted on 31-May-16 at 8:36 pm | Permalink
Antoine Gruzelle wrote:
Thank you for the great idea, I built one ! I think this will be a nice attraction at work, leading to an introduction to TDD to anyone who will feel curious about my hat (and who wouldn’t ?)
Posted on 06-Oct-16 at 3:29 pm | Permalink
Jean Paul H. wrote:
This is genius! Thanks for opensourcing this!
Posted on 12-Jul-18 at 11:32 am | Permalink
NagRock wrote:
Thanks! Great idea.
Posted on 02-Nov-18 at 9:54 am | Permalink
Roberto Medeiros wrote:
Sou novato no TDD e estou a princÃpio satisfeito nessa nova ideia de criar cenário de testes. Fortemente recomendado.
Posted on 08-Mar-19 at 10:55 am | Permalink
Bill Beal wrote:
Great idea, but the TDD cycles are so short you would lose time readjusting it all the time. How about an IOT mechanized hat that is linked to your IDE and senses when to rotate itself? :-)
Posted on 08-Mar-19 at 11:47 am | Permalink
Daniel Bento wrote:
ahah TDD/TDD Hat is a crazy idea that works.
Posted on 01-Jul-20 at 3:56 pm | Permalink
Joao Duarte wrote:
I love it, but how I did’nt have someone to sew, I buyit 3 hats with these colors, and I use it in right moment. :D
Brilliant!
Posted on 07-Oct-20 at 10:41 pm | Permalink
Michael Mirwaldt wrote:
Hi George,
I like your idea with the TDD hats so much that I would like to make and sell them.
I haven’t found any shop yet which offers them.
If I put a label “Designed by G. Dinwiddie” on them, is that enough for you?
All the best,
Michael Mirwaldt
Posted on 16-Jun-22 at 5:07 pm | Permalink
George Dinwiddie wrote:
Michael,
I’d prefer if you say “Designed by George Dinwiddie” on them. Also be sure to include a Creative Commons notice “(CC BY-SA 3.0)” and refer to https://creativecommons.org/licenses/by-sa/3.0/
Posted on 17-Jun-22 at 12:32 pm | Permalink
Michael Mirwaldt wrote:
Hi George,
I will add this notice to all hats:
“Designed by George Dinwiddie,
licensed CC BY-SA 3.0”
Is that enough for you?
Posted on 11-Jul-22 at 6:29 am | Permalink
Michael Mirwaldt wrote:
The URL is just too long
Posted on 11-Jul-22 at 6:38 am | Permalink
George Dinwiddie wrote:
Michael, that’s fine.
Posted on 11-Jul-22 at 10:02 am | Permalink