This post was influenced by great post from Michael Bolton, A Transpection Session: Inputs and Expected Results, In that post, Michael and James Back discuss in a transpection dialog what are mandatory attributes of a test. The post is aligned with the Black Box Software Testing Foundations course (BBST) designed by Rebecca Fiedler, Cem Kaner, and James Bach.
In that session, James leads a transpection session. He asks, is it true that the test consists of input and expectation? As a problem, he presents a clock in a sealed box. And that gave me an idea for this exercise:
Can you come up with five test cases for this box? Below are mine (yes, answers are there, but you need to do something to reveal them 🙂 )
Turn the switch on.
Put a heavy brick on the box and turn the switch on.
Turn the switch off before the arm.
Use the term vision camera to “see” inside the box.
Put the box on another side and turn the switch on.