I saw a tweet from @pekka_marjamaki recently that I thought would be fun to share here to discuss.
I shared this on Slack and had some interesting replies:
I wouldn’t believe that the clock was in there unless someone showed me. Sounds like when you send the apprentice to the hardware shop to get skyhooks
Also, whoever wanted it tested completely failed at testability.
Wonder if there’s any test hooks for it?
ask what the object i am holding is supposed to do. if that is “showing the time” then it’s obviously failing for me
Try asking the box for the time, maybe the clock has voice recognition…
I guess you would want to try to figure out what type of clock it is first, digital or analog? Can you hear it ticking when you listen? Are there any alarms - is is beeping or a chime? Is there a power source coming out of the box?
I think I’d first find out how the steel box is put together. Is it welded shut or is there a lid? How is it closed? And also the purpose of the steel box. Is it to contain a clock, and why? Is the clock radio-active? What kind of clock is it? Wrist-watch, wall clock, alarm clock, smart watch? Size? What powers it?
How would you test the clock?