It came as a shock to Venkat Subramaniam when he tried to convince himself that the multithreaded code he was writing was not unit testable. It’s too complex, non-deterministic to be driven through tests, he thought. He was so convinced that he set out to show TDD does not apply here.
In the end, Venkat proved himself wrong.
In this zero-slides presentation, Venkat uses TDD to drive the design of a multithreaded code. Along the way he’ll hit some roadblocks, use those to learn some techniques and practices that’ll help break the barriers. If you’ve confronted test driving for thread-safety this session is for you.