smart stuff

Semi-automatic test generator and code annotator
24 Jul 06 - http://www.approximity.com/cgi-bin/blogtariAgile/index.rb/Ruby/xmpfilter.rdoc
xmpfilter.rb is basically a source code filter than can generate assertions for your tests, and annotate the code to show intermediate results.

Make sure you read the entire article