Automating the Saff Squeeze

Posted by Uncle Bob on 11/30/2008

I want the JetBrains and Eclipse people to automate The Saff Squeeze

Imagine that you have a Feathers Characterization test that fails. You click on the test and then select Tools->Saff Squeeze. The IDE then goes through an iteration of inlining the functions in the test and Jester-ing out any code that doesn’t change the result of the assertion.

I think that by using internal code coverage monitoring to see the paths being taken, and by intelligent monte-carlo modification, you could automatically reduce the code down to the minimum needed to maintain the defect.

Comments

Leave a response