Implementing the Self-Shunt Testing Pattern in Ruby
February 14, 2006
Sometimes you want to test an object that is tightly coupled to another object, and you need to capture the conversation between the two objects to ensure the right information is being sent back and forth. Maybe you want to know what a barcode scanner is sending to the display device. You could use a [...]